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:
Kumar Gala 2019-08-23 10:44:39 -05:00 committed by Anas Nashif
commit ae197ed395

View file

@ -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"