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 | |
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')
-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); |