Преглед изворни кода

When in verbose mode print test command

Andy Cedilnik пре 23 година
родитељ
комит
c1c74f925c
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      Source/ctest.cxx

+ 4 - 0
Source/ctest.cxx

@@ -876,6 +876,10 @@ void ctest::ProcessDirectory(std::vector<std::string> &passed,
         double clock_start, clock_finish;
         clock_start = floattime();
 
+        if ( m_Verbose )
+          {
+          std::cout << std::endl << "Test command: " << testCommand << std::endl;
+          }
         bool res = cmSystemTools::RunCommand(testCommand.c_str(), output, 
                                              retVal, 0, false);
         clock_finish = floattime();