1sample:
2  description: Demonstration of the PWM LED driver
3  name: PWM LED sample
4tests:
5  sample.drivers.led.led_pwm:
6    filter: dt_compat_enabled("pwm-leds")
7    tags: LED
8    depends_on: pwm
9    platform_exclude: reel_board
10    timeout: 20
11    harness: console
12    harness_config:
13      type: multi_line
14      ordered: true
15      regex:
16        - "Testing LED \\d+"
17        - "Turned on"
18        - "Turned off"
19        - "Increasing brightness gradually"
20        - "Decreasing brightness gradually"
21        - "Blinking on: ([0-9]+) msec, off: ([0-9]+) msec"
22        - "(Blinking on: ([0-9]+) msec, off: ([0-9]+) msec|Cycle period not supported)"
23        - "Turned off, loop end"
24