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:
parent
d6458a6ba7
commit
f42afc6168
1 changed files with 2 additions and 5 deletions
7
lib/spack/external/ctest_log_parser.py
vendored
7
lib/spack/external/ctest_log_parser.py
vendored
|
@ -116,18 +116,15 @@ def match(self, text):
|
||||||
'Error:', 'error', 'undefined reference', 'multiply defined')),
|
'Error:', 'error', 'undefined reference', 'multiply defined')),
|
||||||
"([^:]+): error[ \\t]*[0-9]+[ \\t]*:",
|
"([^:]+): error[ \\t]*[0-9]+[ \\t]*:",
|
||||||
"([^:]+): (Error:|error|undefined reference|multiply defined)",
|
"([^:]+): (Error:|error|undefined reference|multiply defined)",
|
||||||
"([^ :]+) : (error|fatal error|catastrophic error)",
|
"([^ :]+) ?: (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",
|
"^[Bb]us [Ee]rror",
|
||||||
"^[Ss]egmentation [Vv]iolation",
|
"^[Ss]egmentation [Vv]iolation",
|
||||||
"^[Ss]egmentation [Ff]ault",
|
"^[Ss]egmentation [Ff]ault",
|
||||||
":.*[Pp]ermission [Dd]enied",
|
":.*[Pp]ermission [Dd]enied",
|
||||||
"^Error ([0-9]+):",
|
"^Error ([0-9]+):",
|
||||||
"^Fatal",
|
"^Fatal",
|
||||||
"^Error: ",
|
"^[Ee]rror: ",
|
||||||
"^Error ",
|
"^Error ",
|
||||||
"[0-9] ERROR: ",
|
"[0-9] ERROR: ",
|
||||||
"^\"[^\"]+\", line [0-9]+: [^Ww]",
|
"^\"[^\"]+\", line [0-9]+: [^Ww]",
|
||||||
|
|
Loading…
Reference in a new issue