zephyr/samples/basic/threads/sample.yaml
Anas Nashif dc96f16bcd samples: define harness for samples
Most of the basic tests trigger LEDs or expect button press and would
hang in device testing because we can't parse success or failure from
the console. Define harness for this with the intent to skip those in
sanitycheck device testing and until we have a better way to test those.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-03-04 08:14:29 -05:00

17 lines
428 B
YAML

sample:
description: A basic demo to showcase multi-threading
using K_THREAD_DEFINE
name: Basic Thread Demo
tests:
test:
tags: kernel threads gpio
filter: DT_GPIO_LEDS_LED0_GPIO_CONTROLLER and DT_GPIO_LEDS_LED1_GPIO_CONTROLLER
depends_on: gpio
harness: console
harness_config:
type: multi_line
ordered: false
regex:
- "Toggle USR0 LED(.*)"
- "Toggle USR1 LED(.*)"