Skip to content

Commit 5709453

Browse files
committed
Changed the envvar name to MICROPY_MICROPYTHON
As discussed in adafruit#504
1 parent 6ca17bc commit 5709453

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/run-tests

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ from glob import glob
1010
# to the correct executable.
1111
if os.name == 'nt':
1212
CPYTHON3 = os.getenv('MICROPY_CPYTHON3', 'python3.exe')
13-
MP_PY = os.getenv('MICROPY_MP_PY', '../windows/micropython.exe')
13+
MICROPYTHON = os.getenv('MICROPY_MICROPYTHON', '../windows/micropython.exe')
1414
else:
1515
CPYTHON3 = os.getenv('MICROPY_CPYTHON3', 'python3')
16-
MP_PY = os.getenv('MICROPY_MP_PY', '../unix/micropython')
16+
MICROPYTHON = os.getenv('MICROPY_MICROPYTHON', '../unix/micropython')
1717

1818
# Set of tests that we shouldn't run under Travis CI
1919
skip_travis_tests = set(['basics/memoryerror.py'])
@@ -65,7 +65,7 @@ for test_file in tests:
6565
output_mupy = b'CRASH\n' + output_mupy
6666
else:
6767
try:
68-
output_mupy = subprocess.check_output([MP_PY, '-X', 'emit=bytecode', test_file])
68+
output_mupy = subprocess.check_output([MICROPYTHON, '-X', 'emit=bytecode', test_file])
6969
except subprocess.CalledProcessError:
7070
output_mupy = b'CRASH'
7171

0 commit comments

Comments
 (0)