Skip to content
Snippets Groups Projects
Commit fd08c9a0 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

runner: also catch error from missing data-env input vars

parent 62d42f17
No related branches found
No related tags found
No related merge requests found
Pipeline #56254 passed
......@@ -9,6 +9,7 @@
RETURN_CODE_SUCCESS = 0
RETURN_CODE_EXEC_ISSUE = 32
RETURN_CODE_SETUP_ISSUE = 64
def run_one(bin_env_path, data_env_path, benchmark_path, result):
......@@ -36,6 +37,15 @@
try:
bench_result = benchmark.run_one(bin_env_path, data_env_path)
except errors.MissingDataEnvInputVars as exc:
err = poulpe.err
msg = (
f"ABORT: data-environment is missing an input-value "
f"definition for: {exc.args[0]}"
)
err(msg)
return RETURN_CODE_SETUP_ISSUE
except errors.BenchmarkRunFailure as exc:
err = poulpe.err
err("ERROR: running benchmark failed:")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment