浏览代码

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

Brad King 22 年之前
父节点
当前提交
74980113da
共有 1 个文件被更改,包括 6 次插入0 次删除
  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))
       {