summaryrefslogtreecommitdiffstats
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
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)
{