1sample:
2  name: APDS9960 sample
3tests:
4  sample.sensor.apds9960:
5    harness: console
6    platform_allow: reel_board
7    integration_platforms:
8      - reel_board
9    tags: sensors
10    depends_on:
11      - i2c
12      - gpio
13    harness_config:
14      type: multi_line
15      ordered: true
16      regex:
17        - "APDS9960 sample application"
18        - "ambient light intensity (.*), proximity (.*)"
19      fixture: fixture_i2c_apds9960
20  sample.sensor.apds9960.trigger:
21    harness: console
22    platform_allow: reel_board
23    integration_platforms:
24      - reel_board
25    tags: sensors
26    depends_on:
27      - i2c
28      - gpio
29    extra_configs:
30      - CONFIG_APDS9960_TRIGGER_GLOBAL_THREAD=y
31    harness_config:
32      type: multi_line
33      ordered: true
34      regex:
35        - "APDS9960 sample application"
36        - "Waiting for a threshold event"
37        - "ambient light intensity (.*), proximity (.*)"
38      fixture: fixture_i2c_apds9960
39