zephyr/samples/sensor/apds9960/sample.yaml
Gerard Marull-Paretas 93b63df762 samples, tests: convert string-based twister lists to YAML lists
Twister now supports using YAML lists for all fields that were written
as space-separated lists. Used twister_to_list.py script. Some artifacts
on string length are due to how ruamel dumps content.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-05-10 09:52:37 +02:00

39 lines
940 B
YAML

sample:
name: APDS9960 sample
tests:
sample.sensor.apds9960:
harness: console
platform_allow: reel_board
integration_platforms:
- reel_board
tags: sensors
depends_on:
- i2c
- gpio
harness_config:
type: multi_line
ordered: true
regex:
- "APDS9960 sample application"
- "ambient light intensity (.*), proximity (.*)"
fixture: fixture_i2c_apds9960
sample.sensor.apds9960.trigger:
harness: console
platform_allow: reel_board
integration_platforms:
- reel_board
tags: sensors
depends_on:
- i2c
- gpio
extra_configs:
- CONFIG_APDS9960_TRIGGER_GLOBAL_THREAD=y
harness_config:
type: multi_line
ordered: true
regex:
- "APDS9960 sample application"
- "Waiting for a threshold event"
- "ambient light intensity (.*), proximity (.*)"
fixture: fixture_i2c_apds9960