From 90c1aaad690bb3e206523972c9b11ddf64056b43 Mon Sep 17 00:00:00 2001 From: Tom Burdick Date: Wed, 29 May 2024 10:20:43 -0500 Subject: [PATCH] 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 --- tests/drivers/i2c/i2c_ram/testcase.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/drivers/i2c/i2c_ram/testcase.yaml b/tests/drivers/i2c/i2c_ram/testcase.yaml index d1257778cc3..75bfbf0eb9a 100644 --- a/tests/drivers/i2c/i2c_ram/testcase.yaml +++ b/tests/drivers/i2c/i2c_ram/testcase.yaml @@ -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