zephyr/samples/smp/pi/sample.yaml
Andrew Boie 8dec1beffe samples: pi: fix sample.yaml
Whitelists are bad; configuration filters scale much better.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2020-02-21 07:45:04 +02:00

18 lines
530 B
YAML

sample:
description: Calculation of Pi independently in
a number of threads
name: SMP Pi
common:
tags: introduction
harness: console
harness_config:
type: multi_line
ordered: yes
regex:
- "Calculate first [0-9]+ digits of Pi independently by [0-9]+ threads.(.*)"
- "Pi value calculated by thread #[0-9]+: [0-9]+(.*)"
- "All [0-9]+ threads executed by [0-9]+ cores in [0-9]+ msec(.*)"
tests:
sample.smp.pi:
tags: introduction
filter: (CONFIG_MP_NUM_CPUS > 1)