mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
test: Show debug log on unit test failure
This commit is contained in:
parent
17e14ac92f
commit
fa37e0a68b
7 changed files with 34 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ BasicTestingSetup::BasicTestingSetup(const std::string& chainName)
|
|||
SelectParams(chainName);
|
||||
SeedInsecureRand();
|
||||
gArgs.ForceSetArg("-printtoconsole", "0");
|
||||
if (G_TEST_LOG_FUN) LogInstance().PushBackCallback(G_TEST_LOG_FUN);
|
||||
InitLogging();
|
||||
LogInstance().StartLogging();
|
||||
SHA256AutoDetect();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue