File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ from glob import glob
1010# to the correct executable.
1111if 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' )
1414else :
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
1919skip_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
You can’t perform that action at this time.
0 commit comments