From 1fe3b47c81de7b815a330b40e973fd3eb5894812 Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 5 Aug 2024 12:43:10 +1000 Subject: [PATCH] qemu-arm: Fix tinytest test profile when updating set of dirs/files. Updating a set must use `.update()` rather than `.add()`. Also apply the same pattern to qemu-riscv to prevent the same issue when directories/files are added to that port's `tests_profile.txt` file. Signed-off-by: Damien George --- ports/qemu-arm/tests_profile.txt | 4 ++-- ports/qemu-riscv/tests_profile.txt | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ports/qemu-arm/tests_profile.txt b/ports/qemu-arm/tests_profile.txt index c55185a0eb..101943b7c6 100644 --- a/ports/qemu-arm/tests_profile.txt +++ b/ports/qemu-arm/tests_profile.txt @@ -1,10 +1,10 @@ # Port-specific test directories. -test_dirs.add(("inlineasm", "qemu-arm")) +test_dirs.update(("inlineasm", "ports/qemu-arm")) # Port-specific tests exclusion list. -exclude_tests.add( +exclude_tests.update( ( # inline asm FP tests (require Cortex-M4) "inlineasm/asmfpaddsub.py", diff --git a/ports/qemu-riscv/tests_profile.txt b/ports/qemu-riscv/tests_profile.txt index 1079ca1812..3d16e971be 100644 --- a/ports/qemu-riscv/tests_profile.txt +++ b/ports/qemu-riscv/tests_profile.txt @@ -1,3 +1,7 @@ +# Port-specific test directories. + +test_dirs.update(()) + # Port-specific tests exclusion list. -exclude_tests = exclude_tests.union(()) +exclude_tests.update(())