From 74980113da741b2d0f44a678d6c768ccbe6985aa Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 7 Aug 2003 17:43:37 -0400 Subject: ENH: Clarification of help dumped when no arguments are given and no test file is found. --- Source/ctest.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/ctest.cxx b/Source/ctest.cxx index 3236c1d..4b4fccd 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -89,6 +89,12 @@ int main (int argc, char *argv[]) // arguments to run tests. if(argc > 1 || !cmSystemTools::FileExists("DartTestfile.txt")) { + if(argc == 1) + { + std::cout << "*********************************" << std::endl; + std::cout << "No test configuration file found!" << std::endl; + std::cout << "*********************************" << std::endl; + } cmDocumentation doc; if(doc.CheckOptions(argc, argv)) { -- cgit v0.12