Skip to content

Commit ab32be1

Browse files
committed
Fail bm_runner when shell commands fail.
1 parent a49b5ac commit ab32be1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

benchmarks/bm_runner.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def _subprocess_run_print(args, **kwargs):
3636
# Use subprocess for printing to reduce chance of printing out of sequence
3737
# with the subsequent calls.
3838
subprocess.run(["echo", f"BM_RUNNER DEBUG: {' '.join(args)}"])
39+
kwargs["check"] = True
3940
return subprocess.run(args, **kwargs)
4041

4142

0 commit comments

Comments
 (0)