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(-)

-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#53834): https://lists.yoctoproject.org/g/yocto/message/53834
Mute This Topic: https://lists.yoctoproject.org/mt/83464447/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to