Python3.4 support. README.md update

This commit is contained in:
sheinz 2016-10-26 17:26:38 +03:00
parent 26c539174d
commit d7fe808810
2 changed files with 9 additions and 2 deletions

View file

@ -291,8 +291,8 @@ def flash_image(serial_port):
verbose_print("Building and flashing test image to %s..." % serial_port)
try:
stdout = sys.stdout if verbose else None
subprocess.run(["make", "flash"], check=True, cwd=get_testdir(),
stdout=stdout, stderr=subprocess.STDOUT, env=env)
subprocess.check_call(["make", "flash"], cwd=get_testdir(),
stdout=stdout, stderr=subprocess.STDOUT, env=env)
except subprocess.CalledProcessError as e:
raise TestRunnerError("'make flash EPPORT=%s' failed with exit code %d" %
(serial_port, e.returncode))