diff options
author | Ken Martin <ken.martin@kitware.com> | 2008-01-31 16:43:44 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2008-01-31 16:43:44 (GMT) |
commit | 21852384e017b16b04b961b5cbad78a328efd4b0 (patch) | |
tree | 642857f6d19791f3410f2cd6b634cea3cc04b138 /Source/CTest | |
parent | 065f23ba3869c32801d626bbff6c69dafc807f10 (diff) | |
download | CMake-21852384e017b16b04b961b5cbad78a328efd4b0.zip CMake-21852384e017b16b04b961b5cbad78a328efd4b0.tar.gz CMake-21852384e017b16b04b961b5cbad78a328efd4b0.tar.bz2 |
ENH: read in old file formats Dart as well
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestTestHandler.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index 660764c..9524454 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -100,6 +100,11 @@ bool cmCTestSubdirCommand // does the CTestTestfile.cmake exist ? testFilename = "CTestTestfile.cmake"; } + else if( cmSystemTools::FileExists("DartTestfile.txt") ) + { + // does the DartTestfile.txt exist ? + testFilename = "DartTestfile.txt"; + } else { // No CTestTestfile? Who cares... @@ -186,6 +191,11 @@ bool cmCTestAddSubdirectoryCommand // does the CTestTestfile.cmake exist ? testFilename = "CTestTestfile.cmake"; } + else if( cmSystemTools::FileExists("DartTestfile.txt") ) + { + // does the DartTestfile.txt exist ? + testFilename = "DartTestfile.txt"; + } else { // No CTestTestfile? Who cares... @@ -1378,6 +1388,11 @@ void cmCTestTestHandler::GetListOfTests() // does the CTestTestfile.cmake exist ? testFilename = "CTestTestfile.cmake"; } + if( cmSystemTools::FileExists("DartTestfile.txt") ) + { + // does the DartTestfile.txt exist ? + testFilename = "DartTestfile.txt"; + } else { return; |