zephyr/samples/basic/threads/sample.yaml

18 lines
488 B
YAML

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