From b33f64792f6cff9a14f935ac568e82ec385bf54d Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 11 Oct 2024 13:41:28 +1100 Subject: [PATCH] tests/run-tests.py: Only run inlineasm tests on rp2 ARM targets. Signed-off-by: Damien George --- tests/run-tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/run-tests.py b/tests/run-tests.py index a9fb458f2..f9f841307 100755 --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -1095,7 +1095,9 @@ the last matching regex is used: elif args.target in ("renesas-ra"): test_dirs += ("float", "inlineasm", "ports/renesas-ra") elif args.target == "rp2": - test_dirs += ("float", "stress", "inlineasm", "thread", "ports/rp2") + test_dirs += ("float", "stress", "thread", "ports/rp2") + if "arm" in args.mpy_cross_flags: + test_dirs += ("inlineasm",) elif args.target == "esp32": test_dirs += ("float", "stress", "thread") elif args.target in ("esp8266", "minimal", "nrf"):