sample: philosophers: support console harness

Evaluate console output of sample.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-12-24 18:24:42 -05:00 committed by Anas Nashif
parent 4843c69f06
commit 5c8124f96b

View file

@ -3,4 +3,13 @@ sample:
tests:
test:
tags: samples
extra_args: "-DDEBUG_PRINTF=1"
harness: console
harness_config:
type: multi_line
repeat: 10
regex:
- ".*STARVING.*"
- ".*DROPPED ONE FORK.*"
- ".*THINKING.*"
- ".*EATING.*"