diff options
author | Ken Martin <ken.martin@kitware.com> | 2008-01-17 17:44:59 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2008-01-17 17:44:59 (GMT) |
commit | 456631225b11163f52b82989c1824bcd9ca3471c (patch) | |
tree | 5bc6e15e60d31eeb533e2939f06429e47f825fef /Source/CTest | |
parent | 14fc7dd1dd72c09d3b77039a2f900e9e38290b3c (diff) | |
download | CMake-456631225b11163f52b82989c1824bcd9ca3471c.zip CMake-456631225b11163f52b82989c1824bcd9ca3471c.tar.gz CMake-456631225b11163f52b82989c1824bcd9ca3471c.tar.bz2 |
ENH: use CTestTestfile.txt
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestTestHandler.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index e2d96e3..44bb98d 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -98,14 +98,9 @@ bool cmCTestSubdirCommand::InitialPass(std::vector<std::string> const& args) // does the CTestTestfile.cmake exist ? testFilename = "CTestTestfile.cmake"; } - else if( cmSystemTools::FileExists("DartTestfile.txt") ) - { - // does the DartTestfile.txt exist ? - testFilename = "DartTestfile.txt"; - } else { - // No DartTestfile.txt? Who cares... + // No CTestTestfile? Who cares... cmSystemTools::ChangeDirectory(cwd.c_str()); continue; } @@ -1282,11 +1277,6 @@ void cmCTestTestHandler::GetListOfTests() // does the CTestTestfile.cmake exist ? testFilename = "CTestTestfile.cmake"; } - else if( cmSystemTools::FileExists("DartTestfile.txt") ) - { - // does the DartTestfile.txt exist ? - testFilename = "DartTestfile.txt"; - } else { return; |