samples: sensor: Relax twister constraints on thermometer sample

The thermometer sensor sample application can support any board that
defines the `ambient-temp0` devicetree alias, but the restrictive
`platform_allow` list prevented twister from running on all but two
selected boards. Use a more flexible `dt_alias_exists` filter instead to
allow running this sample on additional boards.

Signed-off-by: Maureen Helm <maureen.helm@analog.com>
This commit is contained in:
Maureen Helm 2024-03-25 16:42:04 -05:00 committed by Fabio Baltieri
commit 3f218c6cda

View file

@ -4,6 +4,9 @@ tests:
sample.sensor.thermometer:
tags: sensors
harness: sensor
filter: dt_alias_exists("ambient-temp0")
integration_platforms:
- nrf52840dk/nrf52840
platform_allow: nrf52840dk/nrf52840 frdm_k22f
- nrf52840dk/nrf52840 # mcp9700a
- frdm_k22f # tcn75a
- robokit1 # ntc_thermistor
- adi_eval_adin1110ebz # adt7420