diff --git a/ci/test/02_run_container.py b/ci/test/02_run_container.py index 166acad7119..7b1e3e0e496 100755 --- a/ci/test/02_run_container.py +++ b/ci/test/02_run_container.py @@ -11,8 +11,9 @@ import sys def run(cmd, **kwargs): print("+ " + shlex.join(cmd), flush=True) + kwargs.setdefault("check", True) try: - return subprocess.run(cmd, check=True, **kwargs) + return subprocess.run(cmd, **kwargs) except Exception as e: sys.exit(e)