Skip to content

Commit 302e4d2

Browse files
decsnycfriedt
authored andcommitted
tests: flash_interface_test: Only test if flash has driver
Add filter to check if there is actually a flash driver enabled. If not, we can't run this test. Signed-off-by: Declan Snyder <[email protected]>
1 parent 0b5b6b8 commit 302e4d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/drivers/flash/interface_test/testcase.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ tests:
1313
flash.interface_test.build_only:
1414
harness: ztest
1515
build_only: true
16-
filter: dt_label_with_parent_compat_enabled("slot1_partition", "fixed-partitions")
16+
filter: CONFIG_FLASH_HAS_DRIVER_ENABLED and
17+
dt_label_with_parent_compat_enabled("slot1_partition", "fixed-partitions")
1718
integration_platforms:
1819
- imx95_evk/mimx9596/m7

0 commit comments

Comments
 (0)