summaryrefslogtreecommitdiff
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
parent71a8401df046ac856d3bb02d6f44733890883f44 (diff)
downloadmanaplus-2eefd2fe39b31671d1808797fe914ae0ae525524.tar.gz
manaplus-2eefd2fe39b31671d1808797fe914ae0ae525524.tar.bz2
manaplus-2eefd2fe39b31671d1808797fe914ae0ae525524.tar.xz
manaplus-2eefd2fe39b31671d1808797fe914ae0ae525524.zip
Recreate config file for tests on each run.
-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);