mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
- Host test were refactored to allow for BDL and non-BDL NVS implementation - Introduceed `NVSPartitionTestHelper` class replacing `PartitionEmulationFixture` - Refactored all tests to use `NVSPartitionTestHelper` instead of legacy emulation fixture - Removed legacy `PartitionEmulationFixture` and `PartitionEmulationFixture2` classes - Removed `TEMPORARILY_DISABLED` macro usage by reducing partition size in applicable tests - Enhanced test coverage and readability with comments and validation steps for each TC - Added utility functions for partition stats tracking, file loading, and erase count check
33 lines
1.0 KiB
YAML
33 lines
1.0 KiB
YAML
components/nvs_flash/host_test:
|
|
depends_components:
|
|
- nvs_flash
|
|
- nvs_sec_provider
|
|
- esp_blockdev
|
|
- esp_partition
|
|
- esp_blockdev
|
|
enable:
|
|
- if: IDF_TARGET == "linux"
|
|
|
|
components/nvs_flash/test_apps:
|
|
depends_components:
|
|
- spi_flash
|
|
- nvs_flash
|
|
- nvs_sec_provider
|
|
- esp_blockdev
|
|
- esp_partition
|
|
disable_test:
|
|
- if: IDF_TARGET not in ["esp32", "esp32c3"]
|
|
|
|
components/nvs_flash/test_apps_bootloader:
|
|
depends_components:
|
|
- spi_flash
|
|
- nvs_flash
|
|
- esp_partition
|
|
disable:
|
|
- if: CONFIG_NAME == "nvs_enc_flash_enc" and (SOC_AES_SUPPORTED != 1 and ESP_ROM_HAS_MBEDTLS_CRYPTO_LIB != 1)
|
|
- if: (CONFIG_NAME == "nvs_enc_hmac" or CONFIG_NAME == "nvs_enc_hmac_no_cfg") and (SOC_HMAC_SUPPORTED != 1 or (SOC_HMAC_SUPPORTED == 1 and (SOC_AES_SUPPORTED != 1 and ESP_ROM_HAS_MBEDTLS_CRYPTO_LIB != 1)))
|
|
|
|
reason: As of now in such cases, we do not have any way to perform AES operations in the bootloader build
|
|
disable_test:
|
|
- if: IDF_TARGET not in ["esp32", "esp32c3"]
|