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>
26 lines
563 B
YAML
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
|