All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ci: work around zephyr test issues
@ 2022-06-20 15:02 Jon Mason
  2022-06-22 16:09 ` Jon Mason
  2022-06-23 17:14 ` Jon Mason
  0 siblings, 2 replies; 3+ messages in thread
From: Jon Mason @ 2022-06-20 15:02 UTC (permalink / raw)
  To: meta-arm

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>
---
 ci/microbit-v1.yml                     | 4 ----
 ci/qemu-cortex-m3.yml                  | 4 +++-
 meta-arm/conf/machine/microbit-v1.conf | 1 +
 3 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/ci/microbit-v1.yml b/ci/microbit-v1.yml
index d78af2b2..b8501486 100644
--- a/ci/microbit-v1.yml
+++ b/ci/microbit-v1.yml
@@ -4,8 +4,4 @@ header:
     - ci/base.yml
     - ci/meta-zephyr.yml
 
-local_conf_header:
-  failing_tests: |
-    ZEPHYRTESTS:remove = "common"
-
 machine: microbit-v1
diff --git a/ci/qemu-cortex-m3.yml b/ci/qemu-cortex-m3.yml
index 8a96037c..6f892a9e 100644
--- a/ci/qemu-cortex-m3.yml
+++ b/ci/qemu-cortex-m3.yml
@@ -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
diff --git a/meta-arm/conf/machine/microbit-v1.conf b/meta-arm/conf/machine/microbit-v1.conf
index 6b18191e..ef3872fe 100644
--- a/meta-arm/conf/machine/microbit-v1.conf
+++ b/meta-arm/conf/machine/microbit-v1.conf
@@ -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"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ci: work around zephyr test issues
  2022-06-20 15:02 [PATCH] ci: work around zephyr test issues Jon Mason
@ 2022-06-22 16:09 ` Jon Mason
  2022-06-23 17:14 ` Jon Mason
  1 sibling, 0 replies; 3+ messages in thread
From: Jon Mason @ 2022-06-22 16:09 UTC (permalink / raw)
  To: meta-arm, Jon Mason

On Mon, 20 Jun 2022 11:02:46 -0400, Jon Mason wrote:
> 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

Applied, thanks!

[1/1] ci: work around zephyr test issues
      commit: 658de4e5e266cf3542bc88da4519f861f75f07a8

Best regards,
-- 
Jon Mason <jon.mason@arm.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ci: work around zephyr test issues
  2022-06-20 15:02 [PATCH] ci: work around zephyr test issues Jon Mason
  2022-06-22 16:09 ` Jon Mason
@ 2022-06-23 17:14 ` Jon Mason
  1 sibling, 0 replies; 3+ messages in thread
From: Jon Mason @ 2022-06-23 17:14 UTC (permalink / raw)
  To: meta-arm, Jon Mason

On Mon, 20 Jun 2022 11:02:46 -0400, Jon Mason wrote:
> 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

Applied, thanks!

[1/1] ci: work around zephyr test issues
      commit: af928569b421431347c84f5941cee7aaa9f0ac74

Best regards,
-- 
Jon Mason <jon.mason@arm.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-23 17:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-20 15:02 [PATCH] ci: work around zephyr test issues Jon Mason
2022-06-22 16:09 ` Jon Mason
2022-06-23 17:14 ` Jon Mason

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.