Skip to content

Commit 9a912aa

Browse files
authored
fix regex to not overmatch in \openblas.py\
1 parent d9dec7f commit 9a912aa

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
@@ -227,7 +227,7 @@ def test_step(self):
227227
res = run_shell_cmd(cmd)
228228

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

0 commit comments

Comments
 (0)