Skip to content

Commit 2896287

Browse files
committed
benchmarks.py: add a runtime error if the format output is wrong
1 parent 9bb1a7b commit 2896287

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

benchmarks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,8 @@ def action_run(args):
342342
print(result.str_compare(base_result))
343343
else:
344344
print(result)
345+
else:
346+
raise RuntimeError("Unexpected format of the output")
345347

346348
if base is not None:
347349
print(stat_keeper.summary())

0 commit comments

Comments
 (0)