When detecting the target platform, also check if it has threading and whether the GIL is enabled or not (using the new attribute `sys.implementation._thread`). If threading is available, add the thread tests to the set of tests to run (unless the set of tests is explicitly given). With this change, the unix port no longer needs to explicitly run the set of thread tests, so that line has been removed from the Makefile. This change will make sure thread tests are run with other testing combinations. In particular, thread tests are now run: - on the unix port with the native emitter - on macOS builds - on unix qemu, the architectures MIPS, ARM and RISCV-64 Signed-off-by: Damien George <damien@micropython.org> |
||
|---|---|---|
| .. | ||
| async_check.py | ||
| async_check.py.exp | ||
| bytearray.py | ||
| bytearray.py.exp | ||
| byteorder.py | ||
| byteorder.py.exp | ||
| complex.py | ||
| complex.py.exp | ||
| const.py | ||
| const.py.exp | ||
| coverage.py | ||
| coverage.py.exp | ||
| float.py | ||
| float.py.exp | ||
| fstring.py | ||
| fstring.py.exp | ||
| inlineasm_rv32.py | ||
| inlineasm_rv32.py.exp | ||
| inlineasm_thumb.py | ||
| inlineasm_thumb.py.exp | ||
| inlineasm_thumb2.py | ||
| inlineasm_thumb2.py.exp | ||
| inlineasm_xtensa.py | ||
| inlineasm_xtensa.py.exp | ||
| int_64.py | ||
| int_64.py.exp | ||
| int_big.py | ||
| int_big.py.exp | ||
| io_module.py | ||
| io_module.py.exp | ||
| native_check.py | ||
| native_check.py.exp | ||
| README | ||
| repl_emacs_check.py | ||
| repl_emacs_check.py.exp | ||
| repl_words_move_check.py | ||
| repl_words_move_check.py.exp | ||
| reverse_ops.py | ||
| reverse_ops.py.exp | ||
| set_check.py | ||
| set_check.py.exp | ||
| slice.py | ||
| slice.py.exp | ||
| target_info.py | ||
| target_info.py.exp | ||
This directory doesn't contain real tests, but code snippets to detect various interpreter features, which can't be/inconvenient to detect by other means. Scripts here are executed by run-tests.py at the beginning of testsuite to decide what other test groups to run/exclude.