diff options
| -rw-r--r-- | allocbench/benchmark.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/allocbench/benchmark.py b/allocbench/benchmark.py index 0a03a78..53430cb 100644 --- a/allocbench/benchmark.py +++ b/allocbench/benchmark.py @@ -627,6 +627,10 @@ class Benchmark: os.chdir(run_dir) logger.debug("\nChange cwd to: %s", run_dir) + # We only check returncode, stderr and stderr which are available + # in CompletedProcess and CalledProcessError. + res: Optional[Union[subprocess.CompletedProcess, + subprocess.CalledProcessError]] = None try: res = run_cmd(argv, capture=True) except subprocess.CalledProcessError as err: |
