zephyr/samples/basic/fade_led/sample.yaml
Piotr Kosycarz 5a4fa06c67 samples: basic: fade_led: add testing base on console output
Extend automated testing on HW by veryfing console output.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2024-06-05 04:24:22 -07:00

20 lines
445 B
YAML

sample:
name: Fade LED
tests:
sample.basic.fade_led:
tags:
- drivers
- pwm
depends_on: pwm
filter: dt_alias_exists("pwm-led0") and dt_compat_enabled("pwm-leds")
integration_platforms:
- nrf51dk/nrf51822
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "PWM-based LED fade"
- "Using pulse width [0-9]+%"
- "Using pulse width [0-9]+%"