Less sensitive error detection in build logs (#8278)

* Less sensitive error detection in build logs
* Fix test_log_parser unit test
This commit is contained in:
Adam J. Stewart 2018-06-02 23:07:02 -05:00 committed by Todd Gamblin
parent d6458a6ba7
commit f42afc6168

View file

@ -116,18 +116,15 @@ def match(self, text):
'Error:', 'error', 'undefined reference', 'multiply defined')),
"([^:]+): error[ \\t]*[0-9]+[ \\t]*:",
"([^:]+): (Error:|error|undefined reference|multiply defined)",
"([^ :]+) : (error|fatal error|catastrophic error)",
"([^ :]+) ?: (error|fatal error|catastrophic error)",
"([^:]+)\\(([^\\)]+)\\) ?: (error|fatal error|catastrophic error)"),
prefilter(
lambda s: s.count(':') >= 2,
"[^ :]+:[0-9]+: [^ \\t]"),
"^[Bb]us [Ee]rror",
"^[Ss]egmentation [Vv]iolation",
"^[Ss]egmentation [Ff]ault",
":.*[Pp]ermission [Dd]enied",
"^Error ([0-9]+):",
"^Fatal",
"^Error: ",
"^[Ee]rror: ",
"^Error ",
"[0-9] ERROR: ",
"^\"[^\"]+\", line [0-9]+: [^Ww]",