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.
pull/262/head
dexX7 10 years ago
parent ba0fa0d9bc
commit fc3979ac69
No known key found for this signature in database
GPG Key ID: 7675E31CF5719832

@ -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…
Cancel
Save