-In order to allow non regression of trigger mode in CI, add a dedicated configuration for this mode -Fix regex -Use a filter on compat rather than using a fixture Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
24 lines
600 B
YAML
24 lines
600 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: yes
|
|
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
|