[cmake-commits] martink committed ctest.cxx 1.101 1.102

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Jan 31 11:43:46 EST 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv1786/Source

Modified Files:
	ctest.cxx 
Log Message:
ENH: read in old file formats Dart as well


Index: ctest.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/ctest.cxx,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -d -r1.101 -r1.102
--- ctest.cxx	17 Jan 2008 17:44:59 -0000	1.101
+++ ctest.cxx	31 Jan 2008 16:43:44 -0000	1.102
@@ -224,7 +224,8 @@
   // If there is a testing input file, check for documentation options
   // only if there are actually arguments.  We want running without
   // arguments to run tests.
-  if(argc > 1 || !cmSystemTools::FileExists("CTestTestfile.cmake"))
+  if(argc > 1 || !(cmSystemTools::FileExists("CTestTestfile.cmake") || 
+                   cmSystemTools::FileExists("DartTestfile.txt")))
     {
     if(argc == 1)
       {



More information about the Cmake-commits mailing list