- 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>
14 lines
308 B
YAML
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")
|