Andy Cedilnik преди 21 години
родител
ревизия
d56bed98d7
променени са 2 файла, в които са добавени 7 реда и са изтрити 0 реда
  1. 4 0
      Source/cmCTest.cxx
  2. 3 0
      Source/ctest.cxx

+ 4 - 0
Source/cmCTest.cxx

@@ -1047,6 +1047,10 @@ int cmCTest::Run(std::vector<std::string>const& args, std::string* output)
       cmSystemTools::ReplaceString(this->m_ConfigType, ".\\", "");
       }
 
+    if( arg.find("--debug",0) == 0 )
+      {
+      this->m_Debug = true;
+      }
     if( arg.find("-Q",0) == 0 || arg.find("--quiet",0) == 0 )
       {
       this->m_Quiet = true;

+ 3 - 0
Source/ctest.cxx

@@ -59,6 +59,9 @@ static const cmDocumentationEntry cmDocumentationOptions[] =
   {"-V,--verbose", "Enable verbose output from tests.",
    "Test output is normally suppressed and only summary information is "
    "displayed.  This option will show all test output."},
+  {"--debug", "Displaying more verbose internals of CTest.",
+    "This feature will result in large number of output that is mostly useful "
+    "for debugging dashboard problems."},
   {"-Q,--quiet", "Make ctest quiet.",
     "This option will suppress all the output. The output log file will still be "
     "generated if the --output-log is specified. Options such as --verbose, "