[cmake-commits] martink committed cmCTestTestHandler.cxx 1.66 1.67
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Jan 31 11:43:46 EST 2008
Update of /cvsroot/CMake/CMake/Source/CTest
In directory public:/mounts/ram/cvs-serv1786/Source/CTest
Modified Files:
cmCTestTestHandler.cxx
Log Message:
ENH: read in old file formats Dart as well
Index: cmCTestTestHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestTestHandler.cxx,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- cmCTestTestHandler.cxx 30 Jan 2008 16:54:55 -0000 1.66
+++ cmCTestTestHandler.cxx 31 Jan 2008 16:43:44 -0000 1.67
@@ -100,6 +100,11 @@
// 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 @@
// 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 @@
// does the CTestTestfile.cmake exist ?
testFilename = "CTestTestfile.cmake";
}
+ if( cmSystemTools::FileExists("DartTestfile.txt") )
+ {
+ // does the DartTestfile.txt exist ?
+ testFilename = "DartTestfile.txt";
+ }
else
{
return;
More information about the Cmake-commits
mailing list