summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2008-01-23 17:51:24 (GMT)
committerKen Martin <ken.martin@kitware.com>2008-01-23 17:51:24 (GMT)
commit3d63c85f75209d605273c03227c4e0bc7f5d0303 (patch)
tree88258cc803072de57b8dd322af14b0f61f242929
parentf4b7ba9c4260f905bb9d88c292565d957b79fe96 (diff)
downloadCMake-3d63c85f75209d605273c03227c4e0bc7f5d0303.zip
CMake-3d63c85f75209d605273c03227c4e0bc7f5d0303.tar.gz
CMake-3d63c85f75209d605273c03227c4e0bc7f5d0303.tar.bz2
ENH: look for CTestConfiguration.ini first
-rw-r--r--Source/cmCTest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 97132ae..c6b71b6 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -521,10 +521,10 @@ bool cmCTest::UpdateCTestConfiguration()
std::string fileName = this->CTestConfigFile;
if ( fileName.empty() )
{
- fileName = this->BinaryDir + "/DartConfiguration.tcl";
+ fileName = this->BinaryDir + "/CTestConfiguration.ini";
if ( !cmSystemTools::FileExists(fileName.c_str()) )
{
- fileName = this->BinaryDir + "/CTestConfiguration.ini";
+ fileName = this->BinaryDir + "/DartConfiguration.tcl";
}
}
cmCTestLog(this, HANDLER_VERBOSE_OUTPUT, "UpdateCTestConfiguration from :"