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

pull/3308/head^2
Damien George 2017-09-08 12:11:15 +10:00
rodzic 19f1b39d6f
commit 0708dd495f
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -13,10 +13,10 @@ from collections import defaultdict
# to the correct executable.
if os.name == 'nt':
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:
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):
test_count = 0