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:
@@ -4,8 +4,4 @@ header:
|
||||
- ci/base.yml
|
||||
- ci/meta-zephyr.yml
|
||||
|
||||
local_conf_header:
|
||||
failing_tests: |
|
||||
ZEPHYRTESTS:remove = "common"
|
||||
|
||||
machine: microbit-v1
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user