Skip to content
Snippets Groups Projects
Commit 9a3e4e68 authored by Michael Whitty's avatar Michael Whitty
Browse files

refs #2167 - fix for Cmake KernelTest's under Windows

parent 04f98750
No related merge requests found
...@@ -178,7 +178,12 @@ public: ...@@ -178,7 +178,12 @@ public:
void testSaveConfigCleanFile() void testSaveConfigCleanFile()
{ {
ConfigService::Instance().updateConfig("MantidTest.properties");
const std::string filename("user.settings"); const std::string filename("user.settings");
// save any previous changed settings to make sure we're on a clean slate
ConfigService::Instance().saveConfig(filename);
Poco::File prop_file(filename); Poco::File prop_file(filename);
// Start with a clean state // Start with a clean state
if( prop_file.exists() ) prop_file.remove(); if( prop_file.exists() ) prop_file.remove();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment