Initialization: setup environment before starting tests
The environment is prepared by the main thread to guard against invalid locale settings and to prevent deinitialization issues of Boost path, which can result in app crashes.
This commit is contained in:
parent
ba0fa0d9bc
commit
fc3979ac69
@ -28,6 +28,7 @@ extern void noui_connect();
|
||||
|
||||
BasicTestingSetup::BasicTestingSetup()
|
||||
{
|
||||
SetupEnvironment();
|
||||
fPrintToDebugLog = false; // don't want to write to debug.log file
|
||||
SelectParams(CBaseChainParams::MAIN);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user