aboutsummaryrefslogtreecommitdiff
path: root/tests/feature_check/set_check.py
AgeCommit message (Collapse)Author
2021-04-15tests/feature_check: Check for lack of pass result rather than failure.Damien George
Commit cb68a5741aba5d4935428674234a9d643f97405f 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>
2017-01-05tests/run-tests: Allow to skip set tests.Paul Sokolovsky
If sets are not enabled, set literals lead to SyntaxError during parsing, so it requires feature_check. Set tests are skipped based on set_*.py pattern.