Skip to content

Commit e74370b

Browse files
authored
Merge pull request #3923 from branfosj/openblas_regex
fix `FATAL ERROR` regex to not match `printf` lines in `openblas.py`
2 parents c9fdab9 + 9a912aa commit e74370b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/easyblocks/o/openblas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def test_step(self):
236236
res = run_shell_cmd(cmd)
237237

238238
# Raise an error if any test failed
239-
regex = re.compile("FATAL ERROR", re.M)
239+
regex = re.compile("^((?!printf).)*FATAL ERROR", re.M)
240240
errors = regex.findall(res.output)
241241
if errors:
242242
raise EasyBuildError("Found %d fatal errors in test output!", len(errors))

0 commit comments

Comments
 (0)