zephyr/samples/drivers/gpio/sample.yaml
Erwan Gouriou 1cfec48646 samples: yaml: filter can be limited to GPIO_CONTROLLER
It is safe to assume that if X_GPIO_CONTROLLER is defined (hence
generated) X_GPIO_PIN should also be defined.
If this is not the case, this is an issue and letting the sample
build will reveal the issue.
Update the yaml filter to rely only on _GPIO_CONTROLLER #define's


Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2018-12-17 08:18:56 -06:00

14 lines
287 B
YAML

sample:
name: GPIO toggling
tests:
test:
tags: drivers
# The filters below are from DTS
filter: LED0_GPIO_CONTROLLER and SW0_GPIO_CONTROLLER
harness: console
harness_config:
type: one_line
regex:
- "Toggling (.*)"
depends_on: gpio