summaryrefslogtreecommitdiff
path: root/docs/reference/speed_python.rst
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-07-10 16:19:17 +1000
committerDamien George <damien@micropython.org>2025-07-23 11:06:09 +1000
commit167c888df99691981587107dad76ddfe8f33bff5 (patch)
tree50586545cee8fe6b2a3f55c88a233ddb9ae0afbe /docs/reference/speed_python.rst
parent377924b4438114889d5d873317c02c01078a54a5 (diff)
tests/run-tests.py: Detect threading and automatically run thread tests.
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>
Diffstat (limited to 'docs/reference/speed_python.rst')
0 files changed, 0 insertions, 0 deletions