Skip to content

Commit

Permalink
tests: drivers: flash: Use fixtures for tests requiring external chips
Browse files Browse the repository at this point in the history
Several scenarios in this test require specific external flash chips
to be connected to the nRF52840 DK. Specify proper fixture for them
so that they are not performed on the board without those required
external components connected.

Signed-off-by: Andrzej Głąbek <[email protected]>
  • Loading branch information
anangl authored and carlescufi committed Nov 23, 2023
1 parent 4a262c3 commit c949018
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/drivers/flash/common/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tests:
- OVERLAY_CONFIG=boards/nrf52840_flash_qspi.conf
- DTC_OVERLAY_FILE=boards/nrf52840dk_mx25l51245g.overlay
harness_config:
fixture: external_flash
fixture: external_flash_mx25l51245g
integration_platforms:
- nrf52840dk_nrf52840
drivers.flash.common.soc_flash_nrf:
Expand Down Expand Up @@ -78,11 +78,15 @@ tests:
extra_args:
- OVERLAY_CONFIG=boards/nrf52840dk_flash_spi.conf
- DTC_OVERLAY_FILE=boards/nrf52840dk_spi_nor.overlay
harness_config:
fixture: external_flash_mx25v1635f
drivers.flash.common.spi_nor_wp_hold:
platform_allow: nrf52840dk_nrf52840
extra_args:
- OVERLAY_CONFIG=boards/nrf52840dk_flash_spi.conf
- DTC_OVERLAY_FILE=boards/nrf52840dk_spi_nor_wp_hold.overlay
harness_config:
fixture: external_flash_mx25v1635f
drivers.flash.common.sam0:
platform_allow:
- atsamd20_xpro
Expand Down

0 comments on commit c949018

Please sign in to comment.