ENH: look for CTestConfiguration.ini first

This commit is contained in:
Ken Martin 2008-01-23 12:51:24 -05:00
parent f4b7ba9c42
commit 3d63c85f75
1 changed files with 2 additions and 2 deletions

View File

@ -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 :"