From bb1e7de5c625e32d10a25fe594ece73f3daadd28 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 2 Jan 2025 15:47:06 +1100 Subject: [PATCH] qemu/boards: Exclude Thumb2 tests and tests failing with native emitter. The `asmbcc`, `asmbitops`, `asmconst` and `asmit` tests fail to compile with mpy-cross on armv6 architecture (used by SABRELITE), so explicitly exclude them. The `math_domain` and `vfs_rom` tests fail when compiled to native machine code, so also exclude those unconditionally. Signed-off-by: Damien George --- ports/qemu/boards/SABRELITE.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ports/qemu/boards/SABRELITE.mk b/ports/qemu/boards/SABRELITE.mk index 839b3d6ac4..9875667830 100644 --- a/ports/qemu/boards/SABRELITE.mk +++ b/ports/qemu/boards/SABRELITE.mk @@ -16,4 +16,7 @@ SRC_BOARD_O = shared/runtime/gchelper_generic.o MPY_CROSS_FLAGS += -march=armv6 # These tests don't work on Cortex-A9, so exclude them. -RUN_TESTS_ARGS = --exclude 'inlineasm/thumb/(asmdiv|asmspecialregs).py' +RUN_TESTS_ARGS += --exclude 'inlineasm/thumb/(asmbcc|asmbitops|asmconst|asmdiv|asmit|asmspecialregs).py' + +# These tests fail with via-mpy and the native (armv6) emitter, so exclude them. +RUN_TESTS_ARGS += --exclude 'extmod/vfs_rom.py|float/math_domain.py'