Skip to content

Partially fix tests failure with 2.6.0 kernel

Wojciech Zmuda yocto 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1zephyr-kernel-test: fix Cortex-M tests failure with 2.6.0 kernelrecipes-kernel/zephyr-kernel/zephyr-kernel-test.inc+0 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [meta-zephyr][PATCH 0/1] Partially fix tests failure with 2.6.0 kernel

From: Wojciech Zmuda <[email protected]>

Transition to Zephyr 2.6.0 broke meta-zephyr test suite. This patch fixes
QEMU Cortex-M3 test suite (MACHINE=qemu-cortex-m3 bitbake zephyr-kernel-test-all -c testimage).

The reason of failure is that the obj_tracing test suite has been removed from Zephyr sources, but it still is referenced in zephyr-kernel-test.inc.

Unfortunately, there are other problems in this area not solved in this path. We'd like to take the opportunity to report it anyway. The QEMU x86 test suite build fails because of unimplemented instructions:

  | /build/work/i586-yocto-elf/interrupt/2.6.0+gitAUTOINC+79a6c07536_c3bd2094f9-r0/git/tests/kernel/interrupt/src/direct_isr.c: In function 'direct_isr1':
  | /build/work/i586-yocto-elf/interrupt/2.6.0+gitAUTOINC+79a6c07536_c3bd2094f9-r0/git/tests/kernel/interrupt/src/direct_isr.c:47:1: sorry, unimplemented: 80387 instructions aren't allowed in an interrupt service routine
  |    47 | ISR_DIRECT_DECLARE(direct_isr1)
  |       | ^~~~~~~~~~~~~~~~~~
  | /build/work/i586-yocto-elf/interrupt/2.6.0+gitAUTOINC+79a6c07536_c3bd2094f9-r0/git/tests/kernel/interrupt/src/direct_isr.c: In function 'direct_isr2':
  | /build/work/i586-yocto-elf/interrupt/2.6.0+gitAUTOINC+79a6c07536_c3bd2094f9-r0/git/tests/kernel/interrupt/src/direct_isr.c:54:1: sorry, unimplemented: 80387 instructions aren't allowed in an interrupt service routine
  |    54 | ISR_DIRECT_DECLARE(direct_isr2)
  |       | ^~~~~~~~~~~~~~~~~~

The problem above does not occur in case of Cortex-M3 QEMU tests - interrupt builds and passes just fine. We have not investigated this one further.

Nagesh shamnur (1):
zephyr-kernel-test: fix Cortex-M tests failure with 2.6.0 kernel

 recipes-kernel/zephyr-kernel/zephyr-kernel-test.inc | 1 -
 1 file changed, 1 deletion(-)
Signature · 1 line
2.25.1