samples: posix: eventfd: Add harness in sample.yaml verifing the output
The sample does not provide a way to verify its operation and causes fails on nrf platforms. Added regex checks in sample.yaml so the sample can be verified. Signed-off-by: Maciej Perkowski <Maciej.Perkowski@nordicsemi.no>
This commit is contained in:
parent
3f19918041
commit
8b07ec1143
1 changed files with 13 additions and 0 deletions
|
@ -8,3 +8,16 @@ common:
|
|||
tests:
|
||||
sample.posix.eventfd:
|
||||
tags: posix
|
||||
harness: console
|
||||
harness_config:
|
||||
type: multi_line
|
||||
ordered: true
|
||||
regex:
|
||||
- "Writing 1 to efd"
|
||||
- "Writing 2 to efd"
|
||||
- "Writing 3 to efd"
|
||||
- "Writing 4 to efd"
|
||||
- "Completed write loop"
|
||||
- "About to read"
|
||||
- "Read 10 (0xa) from efd"
|
||||
- "Finished"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue