tests/run-bench-tests: Update locations of executables, now in ports/.

This commit is contained in:
Damien George 2017-09-08 12:11:15 +10:00
parent 19f1b39d6f
commit 0708dd495f
1 changed files with 2 additions and 2 deletions

View File

@ -13,10 +13,10 @@ from collections import defaultdict
# to the correct executable. # to the correct executable.
if os.name == 'nt': if os.name == 'nt':
CPYTHON3 = os.getenv('MICROPY_CPYTHON3', 'python3.exe') CPYTHON3 = os.getenv('MICROPY_CPYTHON3', 'python3.exe')
MICROPYTHON = os.getenv('MICROPY_MICROPYTHON', '../windows/micropython.exe') MICROPYTHON = os.getenv('MICROPY_MICROPYTHON', '../ports/windows/micropython.exe')
else: else:
CPYTHON3 = os.getenv('MICROPY_CPYTHON3', 'python3') CPYTHON3 = os.getenv('MICROPY_CPYTHON3', 'python3')
MICROPYTHON = os.getenv('MICROPY_MICROPYTHON', '../unix/micropython') MICROPYTHON = os.getenv('MICROPY_MICROPYTHON', '../ports/unix/micropython')
def run_tests(pyb, test_dict): def run_tests(pyb, test_dict):
test_count = 0 test_count = 0