zephyr/tests/drivers/flash/testcase.yaml
Erwan Gouriou 3e1443ccf9 scripts/pylib: expr_parser.py: Review dt_compat_enabled_with_label
Function used for filtering "dt_compat_enabled_with_label" was not
working as expected as it was not taking into account that we're
looking for a children/parent combination:
Provided "compat" with enabled status should be the one of the parent
of the node matching given label.

Function is then reworked to take this into account.
And to make it's usage clear:
- function name is changed to be clearer on the intention
- args order is reversed to be more logical wrt the intention

Users of the function are also updated to take the change into
account.

Fixes #36093

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2021-06-21 20:31:49 -04:00

21 lines
668 B
YAML

common:
integration_platforms:
- nrf52840dk_nrf52840
tests:
drivers.flash.nrf_qspi_nor:
platform_allow: nrf52840dk_nrf52840
tags: flash nrf52 nrf_qspi_fash
extra_args: OVERLAY_CONFIG=boards/nrf52840_flash_qspi.conf
drivers.flash.soc_flash_nrf:
platform_allow: nrf52840dk_nrf52840
tags: nrf52 soc_flash_nrf
extra_args: OVERLAY_CONFIG=boards/nrf52840_flash_soc.conf
drivers.flash.default:
platform_allow: mimxrt1060_evk
tags: mcux
drivers.flash.stm32:
filter: dt_compat_enabled("st,stm32-flash-controller") and
dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")
tags: drivers flash