diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/testlauncher.cpp | 3 | ||||
-rw-r--r-- | src/test/testmain.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp index 0eadbdba0..626ac7490 100644 --- a/src/test/testlauncher.cpp +++ b/src/test/testlauncher.cpp @@ -46,7 +46,8 @@ #include "debug.h" TestLauncher::TestLauncher(std::string test) : - mTest(test) + mTest(test), + file() { file.open((Client::getLocalDataDirectory() + std::string("/test.log")).c_str(), std::ios::out); diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp index 6193036d9..81e83a950 100644 --- a/src/test/testmain.cpp +++ b/src/test/testmain.cpp @@ -38,7 +38,8 @@ std::string fileName; extern char *selfName; TestMain::TestMain() : - log(new Logger) + log(new Logger), + mConfig() { fileName = getSelfName(); log->setLogFile(Client::getLocalDataDirectory() |