summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/windows/README.md4
-rwxr-xr-xtests/run-tests2
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/windows/README.md b/ports/windows/README.md
index 8d907d1b7..1b904f8f5 100644
--- a/ports/windows/README.md
+++ b/ports/windows/README.md
@@ -90,6 +90,10 @@ Running the tests
This is similar for all ports:
cd ../../tests
+ python ./run-tests
+
+Though when running on Cygwin and using Cygwin's Python installation you'll need:
+
python3 ./run-tests
Depending on the combination of platform and Python version used it might be
diff --git a/tests/run-tests b/tests/run-tests
index cb5b5cd0a..b733d8a9f 100755
--- a/tests/run-tests
+++ b/tests/run-tests
@@ -20,7 +20,7 @@ def base_path(*p):
# is of lower version, you can point MICROPY_CPYTHON3 environment var
# to the correct executable.
if os.name == 'nt':
- CPYTHON3 = os.getenv('MICROPY_CPYTHON3', 'python3.exe')
+ CPYTHON3 = os.getenv('MICROPY_CPYTHON3', 'python')
MICROPYTHON = os.getenv('MICROPY_MICROPYTHON', base_path('../ports/windows/micropython.exe'))
else:
CPYTHON3 = os.getenv('MICROPY_CPYTHON3', 'python3')