qemu-arm: Add testing of frozen native modules.

- Split 'qemu-arm' from 'unix' for generating tests.
- Add frozen module to the qemu-arm test build.
- Add test that reproduces the requirement to half-word align native
  function data.
This commit is contained in:
Jim Mussared
2019-08-19 10:59:27 +10:00
committed by Damien George
parent 4ab5156c01
commit 0bd1eb80ff
7 changed files with 54 additions and 13 deletions

View File

@@ -54,7 +54,7 @@ testgroup_member = (
## XXX: may be we could have `--without <groups>` argument...
# currently these tests are selected because they pass on qemu-arm
test_dirs = ('basics', 'micropython', 'float', 'extmod', 'inlineasm') # 'import', 'io', 'misc')
test_dirs = ('basics', 'micropython', 'misc', 'extmod', 'float', 'inlineasm', 'qemu-arm',) # 'import', 'io',)
exclude_tests = (
# pattern matching in .exp
'basics/bytes_compare3.py',
@@ -81,6 +81,8 @@ exclude_tests = (
'micropython/heapalloc_traceback.py',
# pattern matching in .exp
'micropython/meminfo.py',
# needs sys stdfiles
'misc/print_exception.py',
)
output = []