Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
5709453c
Commit
5709453c
authored
Apr 17, 2014
by
Andrew Scheller
Browse files
Changed the envvar name to MICROPY_MICROPYTHON
As discussed in #504
parent
6ca17bcf
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/run-tests
View file @
5709453c
...
...
@@ -10,10 +10,10 @@ from glob import glob
# to the correct executable.
if
os
.
name
==
'nt'
:
CPYTHON3
=
os
.
getenv
(
'MICROPY_CPYTHON3'
,
'python3.exe'
)
M
P_PY
=
os
.
getenv
(
'MICROPY_M
P_PY
'
,
'../windows/micropython.exe'
)
M
ICROPYTHON
=
os
.
getenv
(
'MICROPY_M
ICROPYTHON
'
,
'../windows/micropython.exe'
)
else
:
CPYTHON3
=
os
.
getenv
(
'MICROPY_CPYTHON3'
,
'python3'
)
M
P_PY
=
os
.
getenv
(
'MICROPY_M
P_PY
'
,
'../unix/micropython'
)
M
ICROPYTHON
=
os
.
getenv
(
'MICROPY_M
ICROPYTHON
'
,
'../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
([
M
P_PY
,
'-X'
,
'emit=bytecode'
,
test_file
])
output_mupy
=
subprocess
.
check_output
([
M
ICROPYTHON
,
'-X'
,
'emit=bytecode'
,
test_file
])
except
subprocess
.
CalledProcessError
:
output_mupy
=
b
'CRASH'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment