瀏覽代碼

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;
         double clock_start, clock_finish;
         clock_start = floattime();
         clock_start = floattime();
 
 
+        if ( m_Verbose )
+          {
+          std::cout << std::endl << "Test command: " << testCommand << std::endl;
+          }
         bool res = cmSystemTools::RunCommand(testCommand.c_str(), output, 
         bool res = cmSystemTools::RunCommand(testCommand.c_str(), output, 
                                              retVal, 0, false);
                                              retVal, 0, false);
         clock_finish = floattime();
         clock_finish = floattime();