diff options
author | Damien George <damien.p.george@gmail.com> | 2016-11-03 12:28:31 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-11-03 12:28:31 +1100 |
commit | ca973bd3083492777095a07c20965a4644899ec9 (patch) | |
tree | 776c367c945b3f846bcd73b05a84abe078e22fad /tools/tinytest-codegen.py | |
parent | cd527bb324ade952d11a134859d38bf5272c165e (diff) | |
download | micropython-ca973bd3083492777095a07c20965a4644899ec9.tar.gz micropython-ca973bd3083492777095a07c20965a4644899ec9.zip |
qemu-arm: Enable software floating point support, and float tests.
This helps to test floating point code on Cortex-M hardware.
As part of this patch the link-time-optimisation was disabled because it
wasn't compatible with software FP support. In particular, the linker
could not find the __aeabi_f2d, __aeabi_d2f etc functions even though they
were provided by lib/libm/math.c.
Diffstat (limited to 'tools/tinytest-codegen.py')
-rwxr-xr-x | tools/tinytest-codegen.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/tinytest-codegen.py b/tools/tinytest-codegen.py index c4198832a7..8e505f21a1 100755 --- a/tools/tinytest-codegen.py +++ b/tools/tinytest-codegen.py @@ -46,12 +46,11 @@ 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', 'extmod', 'inlineasm') # 'float', 'import', 'io', 'misc') +test_dirs = ('basics', 'micropython', 'float', 'extmod', 'inlineasm') # 'import', 'io', 'misc') exclude_tests = ( + 'float/float2int_doubleprec.py', # requires double precision floating point to work 'inlineasm/asmfpaddsub.py', 'inlineasm/asmfpcmp.py', 'inlineasm/asmfpldrstr.py', 'inlineasm/asmfpmuldiv.py', 'inlineasm/asmfpsqrt.py', 'extmod/ticks_diff.py', 'extmod/time_ms_us.py', - 'extmod/ujson_dumps_float.py', 'extmod/ujson_loads_float.py', - 'extmod/uctypes_native_float.py', 'extmod/uctypes_le_float.py', 'extmod/machine_pinbase.py', 'extmod/machine_pulse.py', 'extmod/vfs_fat_ramdisk.py', 'extmod/vfs_fat_fileio.py', 'extmod/vfs_fat_fsusermount.py', 'extmod/vfs_fat_oldproto.py', ) |