1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-08 05:09:56 +00:00

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
2022-06-20 11:02:46 -04:00
parent 5cb7b14e03
commit 658de4e5e2
3 changed files with 4 additions and 5 deletions
-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"