feat(storage/nvs_flash): add dependencies to nvs_flash test apps

pull/12901/merge
Tomáš Rohlínek 2023-11-28 10:20:15 +01:00
rodzic a4c80b5fce
commit c276c36dfe
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: BDE1CEDD10F7E372
2 zmienionych plików z 16 dodań i 2 usunięć

Wyświetl plik

@ -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"]

Wyświetl plik

@ -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')