diff --git a/Tools/autotest/autotest.py b/Tools/autotest/autotest.py index 402f5fa389..d17bcccaeb 100755 --- a/Tools/autotest/autotest.py +++ b/Tools/autotest/autotest.py @@ -158,7 +158,7 @@ def build_unit_tests(**kwargs): def run_unit_test(test): """Run unit test file.""" print("Running (%s)" % test) - subprocess.run([test], check=True) + subprocess.check_call([test]) def run_unit_tests():