diff options
author | Damien George <damien@micropython.org> | 2021-04-15 00:47:24 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-04-15 00:52:56 +1000 |
commit | 8459f538eb45fd8e1e4d614298449cf18de84d75 (patch) | |
tree | 830a17f732f5101c52046f6086f69e844b15a361 /tests/feature_check/const.py | |
parent | 7f366a2190825555c16f57f5dfd4d0d57efd7c1f (diff) |
tests/feature_check: Check for lack of pass result rather than failure.
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>
Diffstat (limited to 'tests/feature_check/const.py')
-rw-r--r-- | tests/feature_check/const.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/feature_check/const.py b/tests/feature_check/const.py index db32e8c69..e5928f6d7 100644 --- a/tests/feature_check/const.py +++ b/tests/feature_check/const.py @@ -1 +1,2 @@ x = const(1) +print(x) |