tests: i2c_ram: Add fixture for i2c_ram testing

i2c_ram expects that a ram-like part is connected to an i2c bus and
therefore requires a hardware fixture setup much like spi_loopback.

Adds a fixture that must be designated when running twister tests on a
board with -X i2c_ram.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
This commit is contained in:
Tom Burdick 2024-05-29 10:20:43 -05:00 committed by Anas Nashif
commit 90c1aaad69

View file

@ -4,6 +4,9 @@ common:
- drivers
- i2c
filter: dt_alias_exists("i2c-ram")
harness: ztest
harness_config:
fixture: i2c_ram
tests:
drivers.i2c.ram:
depends_on: i2c