zephyr/samples/drivers/mbox/sample.yaml
Alberto Escolar Piedras 72502938b3 samples/drivers/mbox: Fix test regex
In 9d7ee123a5
the regex used to verify the sample is doing what it should was changed
in a way in which it cannot possibly pass.
Let's fix it.

While at it, in the same commit, the simulator version of the test was
merged with the real_hw version, but the test name kept "real_hw" which
is now missleading => let's fix it.

And let's set as integration platform the simulated target, so it
can actually be runtime tested in CI.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-03-22 02:41:05 +01:00

123 lines
3.2 KiB
YAML

sample:
name: MBOX IPC sample
common:
sysbuild: true
tags: mbox
timeout: 30
tests:
sample.drivers.mbox:
filter: dt_compat_enabled("vnd,mbox-consumer")
platform_exclude:
- nrf54h20dk/nrf54h20/cpuapp
- nrf54h20dk/nrf54h20/cpurad
- nrf54l15dk/nrf54l15/cpuapp
integration_platforms:
- nrf5340bsim/nrf5340/cpuapp
harness: console
harness_config:
type: multi_line
ordered: false
regex:
- "Pong \\(on channel.*\\)"
- "Ping \\(on channel.*\\)"
sample.drivers.mbox.nrf54h20_app_ppr:
platform_allow:
- nrf54h20dk/nrf54h20/cpuapp
integration_platforms:
- nrf54h20dk/nrf54h20/cpuapp
extra_args:
- mbox_SNIPPET=nordic-ppr
- mbox_EXTRA_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_cpuppr.overlay"
- SB_CONF_FILE=sysbuild/nrf54h20dk_nrf54h20_cpuppr.conf
sysbuild: true
harness: console
harness_config:
type: multi_line
ordered: false
regex:
- "Ping \\(on channel 15\\)"
- "Pong \\(on channel 18\\)"
sample.drivers.mbox.nrf54h20_app_flpr:
platform_allow:
- nrf54h20dk/nrf54h20/cpuapp
integration_platforms:
- nrf54h20dk/nrf54h20/cpuapp
extra_args:
- mbox_SNIPPET=nordic-flpr
- mbox_EXTRA_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_cpuflpr.overlay"
- SB_CONF_FILE=sysbuild/nrf54h20dk_nrf54h20_cpuflpr.conf
sysbuild: true
harness: console
harness_config:
type: multi_line
ordered: false
regex:
- "Ping \\(on channel 16\\)"
- "Pong \\(on channel 14\\)"
sample.drivers.mbox.nrf54h20_rad_app:
platform_allow:
- nrf54h20dk/nrf54h20/cpurad
integration_platforms:
- nrf54h20dk/nrf54h20/cpurad
sysbuild: true
harness: console
harness_config:
type: multi_line
ordered: false
regex:
- "Ping \\(on channel 18\\)"
- "Pong \\(on channel 12\\)"
sample.drivers.mbox.nrf54l15:
platform_allow:
- nrf54l15dk/nrf54l15/cpuapp
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
extra_args: mbox_SNIPPET=nordic-flpr
sysbuild: true
harness: console
harness_config:
type: multi_line
ordered: false
regex:
- "Ping \\(on channel 21\\)"
- "Pong \\(on channel 20\\)"
sample.drivers.mbox.nrf54l15_no_multithreading:
platform_allow:
- nrf54l15dk/nrf54l15/cpuapp
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
extra_args:
- mbox_SNIPPET=nordic-flpr
- mbox_CONFIG_MULTITHREADING=n
- remote_CONFIG_MULTITHREADING=n
sysbuild: true
harness: console
harness_config:
type: multi_line
ordered: false
regex:
- "Ping \\(on channel 21\\)"
- "Pong \\(on channel 20\\)"
sample.drivers.mbox.nrf54l15_remote_no_multithreading:
platform_allow:
- nrf54l15dk/nrf54l15/cpuapp
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
extra_args:
- mbox_SNIPPET=nordic-flpr
- remote_CONFIG_MULTITHREADING=n
sysbuild: true
harness: console
harness_config:
type: multi_line
ordered: false
regex:
- "Ping \\(on channel 21\\)"
- "Pong \\(on channel 20\\)"