diff options
author | stijn <stijn@ignitron.net> | 2022-02-17 10:51:17 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-02-18 15:14:47 +1100 |
commit | ff9c7085077a9aa4e715b3952d24ada7b096d744 (patch) | |
tree | 4c39342043813ba2a03b0ed20dc6d6fced4039fc /tests/run-tests.py | |
parent | 5995fb526158ae224dddacef212c1d553d6a6306 (diff) |
tests/run-tests.py: Skip repl tests when running windows underneath.
Some versions of Python (for instance: the mingw-w64 version which can be
installed on MSYS2) do include a pty module and claim to be posix-like
(os.name == 'posix'), yet the select.select call used in run-tests.py hangs
forever. To be on the safe side just exclude anything which might be
running on windows.
Diffstat (limited to 'tests/run-tests.py')
-rwxr-xr-x | tests/run-tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run-tests.py b/tests/run-tests.py index 6f3c09d1d..f9a16283b 100755 --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -109,6 +109,10 @@ def run_micropython(pyb, args, test_file, is_special=False): return b"SKIP\n" import select + # Even though these might have the pty module, it's unlikely to function. + if sys.platform in ["win32", "msys", "cygwin"]: + return b"SKIP\n" + def get(required=False): rv = b"" while True: |