mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
feat(storage/nvs_flash): add dependencies to nvs_flash test apps
This commit is contained in:
parent
a4c80b5fce
commit
c276c36dfe
@ -1,3 +1,17 @@
|
||||
components/nvs_flash/host_test:
|
||||
depends_components:
|
||||
- spi_flash
|
||||
- nvs_flash
|
||||
- nvs_sec_provider
|
||||
- esp_partition
|
||||
enable:
|
||||
- if: IDF_TARGET == "linux"
|
||||
|
||||
components/nvs_flash/test_apps:
|
||||
depends_components:
|
||||
- spi_flash
|
||||
- nvs_flash
|
||||
- nvs_sec_provider
|
||||
- esp_partition
|
||||
disable_test:
|
||||
- if: IDF_TARGET not in ["esp32", "esp32c3"]
|
||||
|
@ -10,8 +10,8 @@ CONFIGS_NVS_ENCR_FLASH_ENC = [
|
||||
]
|
||||
|
||||
|
||||
@pytest.mark.supported_targets
|
||||
@pytest.mark.generic
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.esp32c3
|
||||
@pytest.mark.parametrize('config', ['default'], indirect=True)
|
||||
def test_nvs_flash(dut: IdfDut) -> None:
|
||||
dut.expect_exact('Press ENTER to see the list of tests')
|
||||
|
Loading…
Reference in New Issue
Block a user