summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-08-05 12:43:10 +1000
committerDamien George <damien@micropython.org>2024-08-07 15:20:53 +1000
commit1fe3b47c81de7b815a330b40e973fd3eb5894812 (patch)
tree5161cbf93c665c0ccf593fef2ea1a4fcfb3bafa3
parent1e98c4cb75bf3015d816455fc46ba28d5bcd9275 (diff)
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 <damien@micropython.org>
-rw-r--r--ports/qemu-arm/tests_profile.txt4
-rw-r--r--ports/qemu-riscv/tests_profile.txt6
2 files changed, 7 insertions, 3 deletions
diff --git a/ports/qemu-arm/tests_profile.txt b/ports/qemu-arm/tests_profile.txt
index c55185a0e..101943b7c 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 1079ca181..3d16e971b 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(())