瀏覽代碼

ENH: More support for gcov 4.0

Andy Cedilnik 20 年之前
父節點
當前提交
7bd1e74177
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/CTest/cmCTestCoverageHandler.cxx

+ 1 - 1
Source/CTest/cmCTestCoverageHandler.cxx

@@ -196,7 +196,7 @@ int cmCTestCoverageHandler::ProcessHandler()
  
  
   // Style 2
-  std::string st2gcovOutputRex1 = "^File *`(.*)'$";
+  std::string st2gcovOutputRex1 = "^File *[`'](.*)'$";
   std::string st2gcovOutputRex2 = "Lines executed: *[0-9]+\\.[0-9]+% of [0-9]+$";
   std::string st2gcovOutputRex3 = "^(.*):creating `(.*\\.gcov)'";
   std::string st2gcovOutputRex4 = "^(.*):unexpected EOF *$";