mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
Commit cb68a5741a broke automatic Python
feature detection when running tests, because some detection relied on a
crash of a feature script returning exactly b"CRASH".
This commit fixes this and improves the situation by testing for the lack
of a known pass result, rather than an exact failure result.
Signed-off-by: Damien George <damien@micropython.org>
This directory doesn't contain real tests, but code snippets to detect various interpreter features, which can't be/inconvenient to detecte 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.