log_parser.py: Find failed test case messages in error logs (#25694)
- Match failed autotest tests show the word "FAILED" near the end - Match "FAIL: ", "FATAL: ", "failed ", "Failed test" of other suites - autotest " ok"$ means the test passed, independend of text before. - autoconf messages showing missing tools are fatal later, show them.
This commit is contained in:
parent
34415f6878
commit
6ccda81368
8
lib/spack/external/ctest_log_parser.py
vendored
8
lib/spack/external/ctest_log_parser.py
vendored
@ -118,7 +118,11 @@ def match(self, text):
|
||||
"([^:]+): (Error:|error|undefined reference|multiply defined)",
|
||||
"([^ :]+) ?: (error|fatal error|catastrophic error)",
|
||||
"([^:]+)\\(([^\\)]+)\\) ?: (error|fatal error|catastrophic error)"),
|
||||
"^FAILED",
|
||||
"^FAIL: ",
|
||||
"^FATAL: ",
|
||||
"^failed ",
|
||||
"FAILED",
|
||||
"Failed test",
|
||||
"^[Bb]us [Ee]rror",
|
||||
"^[Ss]egmentation [Vv]iolation",
|
||||
"^[Ss]egmentation [Ff]ault",
|
||||
@ -154,6 +158,7 @@ def match(self, text):
|
||||
"ld: 0706-006 Cannot find or open library file: -l ",
|
||||
"ild: \\(argument error\\) can't find library argument ::",
|
||||
"^could not be found and will not be loaded.",
|
||||
"^WARNING: '.*' is missing on your system",
|
||||
"s:616 string too big",
|
||||
"make: Fatal error: ",
|
||||
"ld: 0711-993 Error occurred while writing to the output file:",
|
||||
@ -177,6 +182,7 @@ def match(self, text):
|
||||
": warning",
|
||||
": \\(Warning\\)",
|
||||
": note",
|
||||
" ok",
|
||||
"Note:",
|
||||
"makefile:",
|
||||
"Makefile:",
|
||||
|
Loading…
Reference in New Issue
Block a user