diff options
author | Andrew Scheller <github@loowis.durge.org> | 2014-04-17 01:22:45 +0100 |
---|---|---|
committer | Andrew Scheller <github@loowis.durge.org> | 2014-04-17 01:22:45 +0100 |
commit | 5709453ca7b03a2decb67acb64cdb3e0a788e9fb (patch) | |
tree | e9f370607c1bae361599cb3ebd898b7270628b7b /tests | |
parent | 6ca17bcfb6a719a625ed76f0354bed7ed014d136 (diff) | |
download | micropython-5709453ca7b03a2decb67acb64cdb3e0a788e9fb.tar.gz micropython-5709453ca7b03a2decb67acb64cdb3e0a788e9fb.zip |
Changed the envvar name to MICROPY_MICROPYTHON
As discussed in #504
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/run-tests | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/run-tests b/tests/run-tests index 52fdd11b25..cfc0fdee89 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -10,10 +10,10 @@ from glob import glob # to the correct executable. if os.name == 'nt': CPYTHON3 = os.getenv('MICROPY_CPYTHON3', 'python3.exe') - MP_PY = os.getenv('MICROPY_MP_PY', '../windows/micropython.exe') + MICROPYTHON = os.getenv('MICROPY_MICROPYTHON', '../windows/micropython.exe') else: CPYTHON3 = os.getenv('MICROPY_CPYTHON3', 'python3') - MP_PY = os.getenv('MICROPY_MP_PY', '../unix/micropython') + MICROPYTHON = os.getenv('MICROPY_MICROPYTHON', '../unix/micropython') # Set of tests that we shouldn't run under Travis CI skip_travis_tests = set(['basics/memoryerror.py']) @@ -65,7 +65,7 @@ for test_file in tests: output_mupy = b'CRASH\n' + output_mupy else: try: - output_mupy = subprocess.check_output([MP_PY, '-X', 'emit=bytecode', test_file]) + output_mupy = subprocess.check_output([MICROPYTHON, '-X', 'emit=bytecode', test_file]) except subprocess.CalledProcessError: output_mupy = b'CRASH' |