zephyr/samples/sensor/max44009/sample.yaml
Spoorthi K a38042d2eb samples: sensor: Include regex matching and fixture
Regex pattern matching is included to match the
execution log from console to return test result
in automation.

Also add fixture to identify the external sensor
connected for automation framework to trigger test
cases on particular board which is connected with
required sensor.

Signed-off-by: Spoorthi K <spoorthi.k@intel.com>
2018-11-14 23:43:48 -05:00

15 lines
324 B
YAML

sample:
name: MAX44009 light sensor
tests:
test:
tags: sensors
harness: console
depends_on: i2c
harness_config:
type: multi_line
ordered: true
regex:
- "MAX44009 light sensor application"
- "sensor: lum reading: (.*)"
fixture: fixture_i2c_max44009