Browse Source

autotest: revert to subprocess.check_call

.run is only Python3
zr-v5.1
Peter Barker 4 years ago committed by Peter Barker
parent
commit
d82a229584
  1. 2
      Tools/autotest/autotest.py

2
Tools/autotest/autotest.py

@ -158,7 +158,7 @@ def build_unit_tests(**kwargs): @@ -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():

Loading…
Cancel
Save