summaryrefslogtreecommitdiffstats
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2008-01-31 16:43:44 (GMT)
committerKen Martin <ken.martin@kitware.com>2008-01-31 16:43:44 (GMT)
commit21852384e017b16b04b961b5cbad78a328efd4b0 (patch)
tree642857f6d19791f3410f2cd6b634cea3cc04b138 /Source/ctest.cxx
parent065f23ba3869c32801d626bbff6c69dafc807f10 (diff)
downloadCMake-21852384e017b16b04b961b5cbad78a328efd4b0.zip
CMake-21852384e017b16b04b961b5cbad78a328efd4b0.tar.gz
CMake-21852384e017b16b04b961b5cbad78a328efd4b0.tar.bz2
ENH: read in old file formats Dart as well
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r--Source/ctest.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index b7d132f..ddd22ad 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -224,7 +224,8 @@ int main (int argc, char *argv[])
// 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)
{