Browse Source

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

Brad King 22 năm trước cách đây
mục cha
commit
74980113da
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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))
       {