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    integration_platforms:
11      - frdm_k22f
12    timeout: 20
13    harness: console
14    harness_config:
15      type: multi_line
16      ordered: true
17      regex:
18        - "Testing LED \\d+"
19        - "Turned on"
20        - "Turned off"
21        - "Increasing brightness gradually"
22        - "Decreasing brightness gradually"
23        - "Blinking on: ([0-9]+) msec, off: ([0-9]+) msec"
24        - "(Blinking on: ([0-9]+) msec, off: ([0-9]+) msec|Cycle period not supported)"
25        - "Turned off, loop end"
26