zephyr/samples/drivers/adc/sample.yaml
Erwan Gouriou 95712bd498 samples/drivers/adc: Few fixes for use with twister
Add some changes to adc sample to enable valid verdict generation
using twister:
-Replace 'single_line' keyword with correct 'one_line'
-Remove parenthesis from the sample output to enable regex verdict
-Add timeout to save time in execution

Additionally, add support for disco_l475_iot1.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2021-01-29 16:57:04 -05:00

14 lines
268 B
YAML

sample:
name: ADC driver sample
tests:
sample.drivers.adc:
tags: ADC
depends_on: adc
platform_allow: nucleo_l073rz disco_l475_iot1
harness: console
timeout: 10
harness_config:
type: one_line
regex:
- "ADC reading: (.*)"