Skip to content

Commit be989be

Browse files
committed
qemu-arm: Enable builtin override feature, and enable more tests.
Hopefully these tests run reliably on Travis.
1 parent 1ded19d commit be989be

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

qemu-arm/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#define MICROPY_ENABLE_SOURCE_LINE (1)
1616
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
1717
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_NONE)
18+
#define MICROPY_CAN_OVERRIDE_BUILTINS (1)
1819
#define MICROPY_PY_ARRAY_SLICE_ASSIGN (1)
1920
#define MICROPY_PY_BUILTINS_FROZENSET (1)
2021
#define MICROPY_PY_BUILTINS_MEMORYVIEW (1)

tools/tinytest-codegen.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,8 @@ def script_to_map(t):
4646

4747
## XXX: may be we could have `--without <groups>` argument...
4848
# currently these tests are selected because they pass on qemu-arm
49-
# basics/try_finally1.py passes on local machine but only passes 50% of the
50-
# time on Travis CI; no idea why so we just disable it.
5149
test_dirs = ('basics', 'micropython', 'inlineasm') # 'float', 'import', 'io', 'misc')
52-
exclude_tests = ('basics/builtin_override.py', 'basics/class_super_object.py', 'basics/memoryerror.py', 'basics/try_finally1.py', 'micropython/heapalloc.py', 'inlineasm/asmfpaddsub.py', 'inlineasm/asmfpcmp.py', 'inlineasm/asmfpldrstr.py', 'inlineasm/asmfpmuldiv.py', 'inlineasm/asmfpsqrt.py',)
50+
exclude_tests = ('inlineasm/asmfpaddsub.py', 'inlineasm/asmfpcmp.py', 'inlineasm/asmfpldrstr.py', 'inlineasm/asmfpmuldiv.py', 'inlineasm/asmfpsqrt.py',)
5351

5452
output = []
5553

0 commit comments

Comments
 (0)