zephyr/samples/sensor/hts221/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

26 lines
563 B
YAML

sample:
name: HTS221 Temperature and Humidity Monitor
common:
harness: console
integration_platforms:
- disco_l475_iot1
filter: dt_compat_enabled("st,hts221")
tags: sensors
depends_on:
- i2c
- hts221
harness_config:
type: multi_line
ordered: true
regex:
- "Observation:(.*)"
- "Temperature:(.*) C"
- "Relative Humidity:(.*)%"
tests:
sample.sensor.hts221:
extra_configs:
- CONFIG_HTS221_TRIGGER_NONE=y
sample.sensor.hts221.trigger:
extra_configs:
- CONFIG_HTS221_TRIGGER_OWN_THREAD=y