Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
a7752a45
Commit
a7752a45
authored
Apr 04, 2014
by
Paul Sokolovsky
Browse files
run-tests: Elaborate python3 command override capabilities.
parent
e8208a7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/run-tests
View file @
a7752a45
...
...
@@ -5,8 +5,11 @@ import subprocess
import
sys
from
glob
import
glob
# Tests require at least CPython 3.3. If your default python3 executable
# is of lower version, you can point MICROPY_CPYTHON3 environment var
# to the correct executable.
if
os
.
name
==
'nt'
:
CPYTHON3
=
'python3.exe'
CPYTHON3
=
os
.
getenv
(
'MICROPY_CPYTHON3'
,
'python3.exe'
)
MP_PY
=
'../windows/micropython.exe'
else
:
CPYTHON3
=
os
.
getenv
(
'MICROPY_CPYTHON3'
,
'python3'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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