zephyr/samples/sensor/bme280/sample.yaml

23 lines
569 B
YAML

sample:
name: BME280 Sensor sample
tests:
sample.sensor.bme280:
harness: console
tags: sensors
depends_on: i2c bme280
harness_config:
type: one_line
regex:
- "temp: (.*); press: (.*); humidity: (.*)"
fixture: fixture_i2c_bme280
sample.sensor.bme280.spi:
harness: console
tags: sensors
depends_on: spi bme280
extra_args: "CONF_FILE=prj_spi.conf"
harness_config:
type: one_line
regex:
- "temp: (.*); press: (.*); humidity: (.*)"
fixture: fixture_spi_bme280