BUG: minor fix for ctest

This commit is contained in:
Ken Martin 2008-01-31 16:33:07 -05:00
parent dc0f41c298
commit 70e9412dc7
1 changed files with 1 additions and 1 deletions

View File

@ -1388,7 +1388,7 @@ void cmCTestTestHandler::GetListOfTests()
// does the CTestTestfile.cmake exist ?
testFilename = "CTestTestfile.cmake";
}
if( cmSystemTools::FileExists("DartTestfile.txt") )
else if( cmSystemTools::FileExists("DartTestfile.txt") )
{
// does the DartTestfile.txt exist ?
testFilename = "DartTestfile.txt";