summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-16 21:38:47 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-16 21:38:47 +0300
commit2eefd2fe39b31671d1808797fe914ae0ae525524 (patch)
tree4f072f73a182447fdc6322e1d033dc1c072ffd41 /src
parent71a8401df046ac856d3bb02d6f44733890883f44 (diff)
downloadmanaverse-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')
-rw-r--r--src/test/testmain.cpp1
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);