Skip to content

Commit 3e1bada

Browse files
PerMacnashif
authored andcommitted
samples: tests: Fix sample.boards.nrf.nrfx test
The sample was failing twister test with a timeout because there was no pass/fail criteria for it (nothing was tested). The fix adds harness on consolse and some output that can be verified. Signed-off-by: Maciej Perkowski <[email protected]>
1 parent 0fb5873 commit 3e1bada

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

samples/boards/nrf/nrfx/sample.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,10 @@ tests:
44
sample.boards.nrf.nrfx:
55
platform_allow: nrf52840dk_nrf52840 nrf9160dk_nrf9160
66
tags: board
7+
harness: console
8+
harness_config:
9+
type: multi_line
10+
ordered: true
11+
regex:
12+
- "nrfx_gpiote initialized"
13+
- "\\(D\\)PPI configured, leaving main()"

0 commit comments

Comments
 (0)