zephyr/tests/lib/devicetree/devices/testcase.yaml
Fabio Baltieri 682f38fa36 tests: lib: devicetree devices: only run on native_sim
The test instantiate few vnd,i2c devices so it fails with boards with
devices that select I2C, as that causes i2c_test.c to be included with
the build that tries to redefine the same devices as well.

This is a library test anyway, so restricting to native_sim should be
good enough for it anyway.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-01-29 10:29:38 +01:00

12 lines
364 B
YAML

tests:
libraries.devicetree.devices:
tags: devicetree
# We only need this to run on one platform so use native_sim as it
# will mostly likely be the fastest.
integration_platforms:
- native_sim
# The test instantiate few vnd,i2c devices so it fails with boards with
# devices that select I2C.
platform_allow:
- native_sim