zephyr/tests/lib/devicetree/devices
Peter Bigot 54fb930feb tests: devicetree: device: avoid multiple declarations
The test defines driver instances for the devices in the tree, but
there's now a dummy driver for vnd,i2c that would also attempt to
define the same device on any platform that defaults CONFIG_I2C=y,
resulting in multiply-defined symbol errors.

native_posix does not default CONFIG_I2C=y, and because
CONFIG_I2C_TEST is hidden there's no way to turn it on or off at the
driver level, so disable the subsystem to mask the driver, leaving the
test code as the only place the devices are defined.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2021-02-25 14:52:16 -06:00
..
src tests: devicetree: add test for devicetree node data 2021-02-19 15:46:16 -05:00
app.overlay tests: devicetree: add test for devicetree node data 2021-02-19 15:46:16 -05:00
CMakeLists.txt tests: devicetree: add test for devicetree node data 2021-02-19 15:46:16 -05:00
prj.conf tests: devicetree: device: avoid multiple declarations 2021-02-25 14:52:16 -06:00
README tests: devicetree: add test for devicetree node data 2021-02-19 15:46:16 -05:00
testcase.yaml tests: devicetree: add test for devicetree node data 2021-02-19 15:46:16 -05:00

Test cases for the device API devicetree data.