feat(storage): add dependencies for tests

This commit is contained in:
Tomáš Rohlínek 2023-10-09 10:55:42 +02:00
parent 53f4f19cc1
commit 8f3abfb60e
No known key found for this signature in database
GPG Key ID: BDE1CEDD10F7E372

View File

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