Browse Source

qemu-arm: Enable builtin override feature, and enable more tests.

Hopefully these tests run reliably on Travis.
pull/1811/merge
Damien George 9 years ago
parent
commit
be989be861
  1. 1
      qemu-arm/mpconfigport.h
  2. 4
      tools/tinytest-codegen.py

1
qemu-arm/mpconfigport.h

@ -15,6 +15,7 @@
#define MICROPY_ENABLE_SOURCE_LINE (1)
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_NONE)
#define MICROPY_CAN_OVERRIDE_BUILTINS (1)
#define MICROPY_PY_ARRAY_SLICE_ASSIGN (1)
#define MICROPY_PY_BUILTINS_FROZENSET (1)
#define MICROPY_PY_BUILTINS_MEMORYVIEW (1)

4
tools/tinytest-codegen.py

@ -46,10 +46,8 @@ testgroup_member = (
## XXX: may be we could have `--without <groups>` argument...
# currently these tests are selected because they pass on qemu-arm
# basics/try_finally1.py passes on local machine but only passes 50% of the
# time on Travis CI; no idea why so we just disable it.
test_dirs = ('basics', 'micropython', 'inlineasm') # 'float', 'import', 'io', 'misc')
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',)
exclude_tests = ('inlineasm/asmfpaddsub.py', 'inlineasm/asmfpcmp.py', 'inlineasm/asmfpldrstr.py', 'inlineasm/asmfpmuldiv.py', 'inlineasm/asmfpsqrt.py',)
output = []

Loading…
Cancel
Save