Bläddra i källkod

ENH: Clarification of help dumped when no arguments are given and no test file is found.

Brad King 22 år sedan
förälder
incheckning
74980113da
1 ändrade filer med 6 tillägg och 0 borttagningar
  1. 6 0
      Source/ctest.cxx

+ 6 - 0
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))
       {