[Build] Fix log pattern for CodeChecker
authorWonyoung Choi <wy80.choi@samsung.com>
Mon, 24 Dec 2018 05:05:44 +0000 (14:05 +0900)
committerWonyoung Choi <wy80.choi@samsung.com>
Mon, 24 Dec 2018 05:05:44 +0000 (14:05 +0900)
tools/scripts/CodeChecker/BuildLog.py

index ac6af0e..26a79b4 100644 (file)
@@ -8,7 +8,7 @@ class BuildLog:
     self._parseLog()
 
   def _parseLog(self):
-    errorPattern = re.compile('(.+)\(([0-9]+),[0-9]+\): (error|warning) ([A-Z0-9]+): (.+) \[/')
+    errorPattern = re.compile('[0-9]+>(.+)\(([0-9]+),[0-9]+\): (error|warning) ([A-Z0-9]+): (.+) \[/')
     for line in self._file.readlines():
       m = errorPattern.match(line)
       if m is not None: