diff options
| author | Paul Sokolovsky | 2017-03-10 02:11:43 +0100 |
|---|---|---|
| committer | Paul Sokolovsky | 2017-03-10 02:11:43 +0100 |
| commit | 854bb322bf9e20f1c5afe5e8a796ebeca238fa95 (patch) | |
| tree | 4f74269f08ab4697caf96dd6ffa1a144c22e28f4 /tests/run-tests | |
| parent | 776883cb80be675fad1fee1ffae5dcdb75f14f64 (diff) | |
tests/feature_check/int_big: Rework "big int" detection.
MICROPY_LONGINT_IMPL_LONGLONG doesn't have overflow detection, so just
parsing a large number won't give an error, we need to print it out
to check that the whole number was parsed.
Diffstat (limited to 'tests/run-tests')
| -rwxr-xr-x | tests/run-tests | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-tests b/tests/run-tests index bacaebea8..6a78c2764 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -209,7 +209,7 @@ def run_tests(pyb, tests, args): # Check if arbitrary-precision integers are supported, and skip such tests if it's not native = run_micropython(pyb, args, 'feature_check/int_big.py') - if native == b'CRASH': + if native != b'1000000000000000000000000000000000000000000000\n': skip_int_big = True # Check if set type (and set literals) is supported, and skip such tests if it's not |
