From 8f3abfb60ebc90774a22bd20c8eabfd15cdb8b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Rohl=C3=ADnek?= Date: Mon, 9 Oct 2023 10:55:42 +0200 Subject: [PATCH] feat(storage): add dependencies for tests --- examples/storage/.build-test-rules.yml | 72 ++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/examples/storage/.build-test-rules.yml b/examples/storage/.build-test-rules.yml index 5bc57c03f3..30e10b7d3a 100644 --- a/examples/storage/.build-test-rules.yml +++ b/examples/storage/.build-test-rules.yml @@ -1,13 +1,29 @@ # Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps examples/storage/custom_flash_driver: + depends_components: + - fatfs + - vfs + - spi_flash + - driver examples/storage/emmc: + depends_components: + - sdmmc + - driver + - fatfs + - vfs enable: - if: IDF_TARGET == "esp32s3" reason: only support on esp32s3 examples/storage/ext_flash_fatfs: + depends_components: + - fatfs + - vfs + - spi_flash + - driver + - esp_system disable: - if: IDF_TARGET == "esp32p4" reason: not supported yet @@ -17,42 +33,77 @@ examples/storage/ext_flash_fatfs: reason: lack of runners examples/storage/fatfsgen: + depends_components: + - fatfs + - vfs + - esp_system disable_test: - if: IDF_TARGET != "esp32" reason: only one target needed examples/storage/nvs_rw_blob: + depends_components: + - nvs_flash + - driver + - esp_system examples/storage/nvs_rw_value: + depends_components: + - nvs_flash + - nvs_system examples/storage/nvs_rw_value_cxx: + depends_components: + - nvs_flash + - nvs_system examples/storage/nvsgen: + depends_components: + - nvs_flash disable_test: - if: IDF_TARGET != "esp32" reason: only one target needed examples/storage/partition_api/partition_find: + depends_components: + - esp_partition disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3"] reason: only one target per arch needed examples/storage/partition_api/partition_mmap: + depends_components: + - esp_partition disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3"] reason: only one target per arch needed examples/storage/partition_api/partition_ops: + depends_components: + - esp_partition + - spi_flash disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3"] reason: only one target per arch needed examples/storage/parttool: + depends_components: + - partition_table disable_test: - if: IDF_TARGET != "esp32" reason: only one target needed examples/storage/perf_benchmark: + depends_components: + - fatfs + - spi_flash + - vfs + - sdmmc + - spiffs + - soc + - wear_levelling + - esp_partition + - driver disable: - if: IDF_TARGET == "esp32p4" and CONFIG_NAME in ["sdmmc_1line", "sdmmc_4line", "sdspi_1line"] temporary: true @@ -63,6 +114,10 @@ examples/storage/perf_benchmark: reason: SPIFLASH not supported on P4 yet, only build stage enabled # TODO: IDF-7499 examples/storage/sd_card/sdmmc: + depends_components: + - vfs + - sdmmc + - driver disable: - if: SOC_SDMMC_HOST_SUPPORTED != 1 disable_test: @@ -71,6 +126,10 @@ examples/storage/sd_card/sdmmc: reason: lack of runners examples/storage/sd_card/sdspi: + depends_components: + - vfs + - sdmmc + - driver disable: - if: SOC_GPSPI_SUPPORTED != 1 disable_test: @@ -79,16 +138,29 @@ examples/storage/sd_card/sdspi: reason: lack of runners examples/storage/semihost_vfs: + depends_components: + - vfs disable_test: - if: IDF_TARGET not in ["esp32"] temporary: true reason: lack of runners examples/storage/spiffs: + depends_components: + - spiffs + - vfs examples/storage/spiffsgen: + depends_components: + - spiffs + - vfs + - mbedtls disable_test: - if: IDF_TARGET != "esp32" reason: only one target needed examples/storage/wear_levelling: + depends_components: + - vfs + - wear_levelling + - fatfs