Skip to content

Commit a8677f5

Browse files
VynDragonjhedberg
authored andcommitted
tests: drivers: flash: fix test_storage_partition
It's triggering on things without a flash driver or flash tag... Disable it based on the presence of a activated flash driver. Signed-off-by: Camille BAUD <[email protected]>
1 parent 5547392 commit a8677f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/drivers/flash/common/testcase.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ tests:
169169
- nrf52840dk/nrf52840
170170
- nrf5340dk/nrf5340/cpuapp
171171
drivers.flash.common.test_storage_partition:
172-
filter: dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")
172+
filter: CONFIG_FLASH_HAS_DRIVER_ENABLED
173+
and dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")
173174
platform_exclude:
174175
- beagleconnect_freedom/cc1352p7
175176
extra_args:

0 commit comments

Comments
 (0)