samples: ipc: ipm_mcux: Add testing harness
Add console testing harness for expected output. This allows us to validate that the test is running properly on hardware. We expect output of the form: Hello World from MASTER! ARM Received: 1 Received: 2 Received: 3 ... Received: 20 Received: 21 Received: 22 ... Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
140a8d0c8a
commit
ae197ed395
1 changed files with 7 additions and 0 deletions
|
@ -6,3 +6,10 @@ tests:
|
|||
sample.subsys.ipc.ipm_mcux:
|
||||
platform_whitelist: lpcxpresso54114_m4
|
||||
tags: ipm
|
||||
harness: console
|
||||
harness_config:
|
||||
type: multi_line
|
||||
regex:
|
||||
- "Hello World from MASTER! (.*)"
|
||||
- "Received: 1"
|
||||
- "Received: 20"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue