blob: c6beedfa8db48b31f77f4b7009106a90a61a7e63 [file] [log] [blame]
sample:
description: Demonstration of the PWM LED driver
name: PWM LED sample
tests:
sample.drivers.led.led_pwm:
filter: dt_compat_enabled("pwm-leds")
tags: LED
depends_on: pwm
platform_exclude: reel_board
timeout: 20
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "Found device \\S+"
- "Testing LED \\d+"
- "Turned on"
- "Turned off"
- "Increasing brightness gradually"
- "Blinking on: 0.1 sec, off: 0.1 sec"
- "(Blinking on: 1 sec, off: 1 sec|Cycle period not supported)"
- "Turned off, loop end"