zephyr/samples/drivers/ps2/sample.yaml
Gerard Marull-Paretas af61ed61f5 samples: drivers: ps2: fix test issues
- Test effectively requires a microchip,xec-ps2, but it was "optional"
  even though the test continued setting up a callback that makes use of
  the device.
- Improve test filtering so that it requires a valid compatible to be
  enabled (allows to delete redundant ps2 tag)
- Initialize device at compile time (allowing to constify its pointer)

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-08-19 11:51:26 +02:00

14 lines
308 B
YAML

sample:
name: PS2 driver sample
tests:
sample.drivers.espi.ps2:
tags: drivers
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "mb data(.*)"
fixture: fixture_connect_mouse
filter: dt_compat_enabled("microchip,xec-ps2")