Skip to content

Commit 7250293

Browse files
aescolarkartben
authored andcommitted
samples/drivers/mbox: Fix test regex
In 9d7ee12 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>
1 parent fa8eef0 commit 7250293

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

samples/drivers/mbox/sample.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ common:
55
tags: mbox
66
timeout: 30
77
tests:
8-
sample.drivers.mbox.real_hw:
8+
sample.drivers.mbox:
99
filter: dt_compat_enabled("vnd,mbox-consumer")
1010
platform_exclude:
1111
- nrf54h20dk/nrf54h20/cpuapp
1212
- nrf54h20dk/nrf54h20/cpurad
1313
- nrf54l15dk/nrf54l15/cpuapp
1414
integration_platforms:
15-
- nrf5340dk/nrf5340/cpuapp
15+
- nrf5340bsim/nrf5340/cpuapp
1616
harness: console
1717
harness_config:
1818
type: multi_line
1919
ordered: false
2020
regex:
21-
- "Pong \\(on channel\\)"
22-
- "Ping \\(on channel\\)"
21+
- "Pong \\(on channel.*\\)"
22+
- "Ping \\(on channel.*\\)"
2323

2424
sample.drivers.mbox.nrf54h20_app_ppr:
2525
platform_allow:

0 commit comments

Comments
 (0)