ci: work around zephyr test issues

zephyr uses icount to improve test accuracy on virtual hardware.  Do
the same here for the same reason for the platforms that actually test.
Also, the common test now appears to work for microbit-v1 and poll doe
snot work for qemu-cortex-m3

Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Jon Mason committed 2022-06-22 09:40:23 -04:00
1 parent 5cb7b14e03
commit 658de4e5e2
3 files changed
+4 -5

No files matched your search

-4
View File
@@ -4,8 +4,4 @@ header:
- ci/base.yml
- ci/meta-zephyr.yml
local_conf_header:
failing_tests: |
ZEPHYRTESTS:remove = "common"
machine: microbit-v1
+3 -1
View File
@@ -13,6 +13,8 @@ local_conf_header:
tclibc: |
TCLIBC = "newlib"
nonbuilding_tests: |
ZEPHYRTESTS:remove = "context pending sleep"
ZEPHYRTESTS:remove = "context pending poll sleep"
qemu_opts: |
QB_OPT_APPEND = "-icount shift=3,align=off,sleep=on -rtc clock=vm"
machine: qemu-cortex-m3
+1
View File
@@ -16,6 +16,7 @@ QB_MACHINE = "-machine microbit"
QB_CPU = "-cpu cortex-m0"
QB_GRAPHICS = "-nographic -vga none"
QB_RNG = ""
QB_OPT_APPEND = "-icount shift=6,align=off,sleep=on -rtc clock=vm"
# Zephyr RTOS settings
ZEPHYR_BOARD = "qemu_cortex_m0"