diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-16 21:38:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-16 21:38:47 +0300 |
commit | 2eefd2fe39b31671d1808797fe914ae0ae525524 (patch) | |
tree | 4f072f73a182447fdc6322e1d033dc1c072ffd41 /src/test/testmain.cpp | |
parent | 71a8401df046ac856d3bb02d6f44733890883f44 (diff) | |
download | manaverse-2eefd2fe39b31671d1808797fe914ae0ae525524.tar.gz manaverse-2eefd2fe39b31671d1808797fe914ae0ae525524.tar.bz2 manaverse-2eefd2fe39b31671d1808797fe914ae0ae525524.tar.xz manaverse-2eefd2fe39b31671d1808797fe914ae0ae525524.zip |
Recreate config file for tests on each run.
Diffstat (limited to 'src/test/testmain.cpp')
-rw-r--r-- | src/test/testmain.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp index f26366596..4ffcf8817 100644 --- a/src/test/testmain.cpp +++ b/src/test/testmain.cpp @@ -52,6 +52,7 @@ TestMain::~TestMain() void TestMain::initConfig() { mConfig.init(settings.configDir + "/test.xml"); + mConfig.clear(); // mConfig.setDefaultValues(getConfigDefaults()); mConfig.setValue("hwaccel", false); |