From c267c6245a3750db155da82a3381b660a447de37 Mon Sep 17 00:00:00 2001 From: Konstantin Kondrashov Date: Wed, 19 Nov 2025 16:56:01 +0200 Subject: [PATCH 1/7] feat(efuse): Update depends_components Where efuse is used as depends_components: - to test efuse APIs: - components/efuse/test_apps - examples/system/efuse - to test secuity APIs: - components/hal/test_apps/crypto - to test adc calib APIs: - components/esp_adc/test_apps/adc - examples/peripherals/adc/continuous_read - examples/peripherals/adc/oneshot_read --- components/efuse/test_apps/.build-test-rules.yml | 2 ++ .../test_apps/esp_hw_support_unity_tests/main/CMakeLists.txt | 2 +- .../esp_hw_support/test_apps/wakeup_tests/main/CMakeLists.txt | 2 +- components/mbedtls/test_apps/.build-test-rules.yml | 1 - 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/components/efuse/test_apps/.build-test-rules.yml b/components/efuse/test_apps/.build-test-rules.yml index 22eeea2060..7530009b89 100644 --- a/components/efuse/test_apps/.build-test-rules.yml +++ b/components/efuse/test_apps/.build-test-rules.yml @@ -6,3 +6,5 @@ components/efuse/test_apps: disable_test: - if: IDF_TARGET in ["esp32s2", "esp32s3"] reason: eFuse for S2 and S3 is similar to the C3 chip, so we only test for C3. + depends_components: + - efuse diff --git a/components/esp_hw_support/test_apps/esp_hw_support_unity_tests/main/CMakeLists.txt b/components/esp_hw_support/test_apps/esp_hw_support_unity_tests/main/CMakeLists.txt index 0e9a56d166..e0666deb21 100644 --- a/components/esp_hw_support/test_apps/esp_hw_support_unity_tests/main/CMakeLists.txt +++ b/components/esp_hw_support/test_apps/esp_hw_support_unity_tests/main/CMakeLists.txt @@ -27,5 +27,5 @@ endif() # the component can be registered as WHOLE_ARCHIVE idf_component_register(SRCS ${srcs} PRIV_REQUIRES unity esp_driver_gpio esp_driver_gptimer esp_driver_uart - test_utils efuse spi_flash esp_timer esp_hal_wdt + test_utils spi_flash esp_timer esp_hal_wdt WHOLE_ARCHIVE) diff --git a/components/esp_hw_support/test_apps/wakeup_tests/main/CMakeLists.txt b/components/esp_hw_support/test_apps/wakeup_tests/main/CMakeLists.txt index dc2dfd74e7..75314a8437 100644 --- a/components/esp_hw_support/test_apps/wakeup_tests/main/CMakeLists.txt +++ b/components/esp_hw_support/test_apps/wakeup_tests/main/CMakeLists.txt @@ -8,5 +8,5 @@ set(include "." # the component can be registered as WHOLE_ARCHIVE idf_component_register(SRCS ${srcs} INCLUDE_DIRS include - REQUIRES unity esp_driver_gpio console test_utils efuse + REQUIRES unity esp_driver_gpio console test_utils WHOLE_ARCHIVE) diff --git a/components/mbedtls/test_apps/.build-test-rules.yml b/components/mbedtls/test_apps/.build-test-rules.yml index 0855b0b85d..3489beb7e5 100644 --- a/components/mbedtls/test_apps/.build-test-rules.yml +++ b/components/mbedtls/test_apps/.build-test-rules.yml @@ -13,7 +13,6 @@ components/mbedtls/test_apps: - if: CONFIG_NAME == "psram_all_ext_flash_enc" and IDF_TARGET not in ["esp32"] reason: lack of runners depends_components: - - efuse - mbedtls - esp_security - esp_mm From 41fddce773ac42c6f7290b3b8c8e3ddafb69494c Mon Sep 17 00:00:00 2001 From: Konstantin Kondrashov Date: Thu, 20 Nov 2025 17:44:24 +0200 Subject: [PATCH 2/7] feat(esp_timer): Update depends_components Where esp_timer is used as depends_components: - components/esp_timer/test_apps - examples/system/esp_timer --- components/esp_timer/test_apps/.build-test-rules.yml | 2 ++ components/wpa_supplicant/test_apps/.build-test-rules.yml | 1 - examples/system/.build-test-rules.yml | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp_timer/test_apps/.build-test-rules.yml b/components/esp_timer/test_apps/.build-test-rules.yml index b62f794ee4..90d722289d 100644 --- a/components/esp_timer/test_apps/.build-test-rules.yml +++ b/components/esp_timer/test_apps/.build-test-rules.yml @@ -1,6 +1,8 @@ # Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps components/esp_timer/test_apps: + depends_components: + - esp_timer disable: - if: CONFIG_NAME == "dfs" and SOC_CLK_XTAL32K_SUPPORTED != 1 reason: The test requires the XTAL32K clock to measure the esp_timer timing accuracy diff --git a/components/wpa_supplicant/test_apps/.build-test-rules.yml b/components/wpa_supplicant/test_apps/.build-test-rules.yml index 6013a2343c..d2f10ee013 100644 --- a/components/wpa_supplicant/test_apps/.build-test-rules.yml +++ b/components/wpa_supplicant/test_apps/.build-test-rules.yml @@ -7,5 +7,4 @@ components/wpa_supplicant/test_apps: - esp_wifi - wpa_supplicant - mbedtls - - esp_timer - esp_event diff --git a/examples/system/.build-test-rules.yml b/examples/system/.build-test-rules.yml index 1b689c20f6..10a64efde8 100644 --- a/examples/system/.build-test-rules.yml +++ b/examples/system/.build-test-rules.yml @@ -85,7 +85,6 @@ examples/system/freertos/basic_freertos_smp_usage: depends_components: - freertos - console - - esp_timer examples/system/freertos/real_time_stats: disable: From 8810327f9d14782a36a666588ba384add97fac5e Mon Sep 17 00:00:00 2001 From: Konstantin Kondrashov Date: Tue, 25 Nov 2025 17:38:11 +0200 Subject: [PATCH 3/7] feat(log): Update depends_components Where log is used as depends_components: - components/log/host_test - components/log/test_apps - tools/test_apps/system/log --- components/log/host_test/.build-test-rules.yml | 2 ++ components/log/test_apps/.build-test-rules.yml | 2 ++ tools/test_apps/linux_compatible/.build-test-rules.yml | 2 +- tools/test_apps/system/.build-test-rules.yml | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/components/log/host_test/.build-test-rules.yml b/components/log/host_test/.build-test-rules.yml index 4385b9916b..c05c518701 100644 --- a/components/log/host_test/.build-test-rules.yml +++ b/components/log/host_test/.build-test-rules.yml @@ -4,3 +4,5 @@ components/log/host_test/log_test: enable: - if: IDF_TARGET == "linux" reason: only test on linux + depends_components: + - log diff --git a/components/log/test_apps/.build-test-rules.yml b/components/log/test_apps/.build-test-rules.yml index 932fbe8385..a5790aba64 100644 --- a/components/log/test_apps/.build-test-rules.yml +++ b/components/log/test_apps/.build-test-rules.yml @@ -4,3 +4,5 @@ components/log/test_apps: enable: - if: IDF_TARGET == "esp32" reason: only test on esp32 + depends_components: + - log diff --git a/tools/test_apps/linux_compatible/.build-test-rules.yml b/tools/test_apps/linux_compatible/.build-test-rules.yml index 42611f3ab6..000f0d0f2a 100644 --- a/tools/test_apps/linux_compatible/.build-test-rules.yml +++ b/tools/test_apps/linux_compatible/.build-test-rules.yml @@ -4,7 +4,7 @@ tools/test_apps/linux_compatible/generic_build_test: enable: - if: IDF_TARGET in ["esp32", "esp32c3", "linux"] depends_components: - - log + - pthread tools/test_apps/linux_compatible/linux_freertos: enable: diff --git a/tools/test_apps/system/.build-test-rules.yml b/tools/test_apps/system/.build-test-rules.yml index 2a99212c68..f2e573c9b8 100644 --- a/tools/test_apps/system/.build-test-rules.yml +++ b/tools/test_apps/system/.build-test-rules.yml @@ -99,6 +99,8 @@ tools/test_apps/system/log: disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3"] reason: test only on esp32 and c3 as other targets are similar + depends_components: + - log tools/test_apps/system/longjmp_test: enable: From 889a381153db1f64a0d062d1fb6e57a84cadf4fc Mon Sep 17 00:00:00 2001 From: Konstantin Kondrashov Date: Tue, 25 Nov 2025 18:11:57 +0200 Subject: [PATCH 4/7] feat(esp_event): Update depends_components Where esp_event is used as depends_components: - components/esp_event/test_apps - components/esp_event/host_test - examples/system/esp_event --- components/esp_event/host_test/.build-test-rules.yml | 2 ++ components/esp_event/test_apps/.build-test-rules.yml | 2 ++ examples/system/.build-test-rules.yml | 8 ++++++++ 3 files changed, 12 insertions(+) diff --git a/components/esp_event/host_test/.build-test-rules.yml b/components/esp_event/host_test/.build-test-rules.yml index c4369d5869..c2c3f0de59 100644 --- a/components/esp_event/host_test/.build-test-rules.yml +++ b/components/esp_event/host_test/.build-test-rules.yml @@ -1,3 +1,5 @@ components/esp_event/host_test: enable: - if: IDF_TARGET == "linux" + depends_components: + - esp_event diff --git a/components/esp_event/test_apps/.build-test-rules.yml b/components/esp_event/test_apps/.build-test-rules.yml index 5534c82a31..fe318bcbbb 100644 --- a/components/esp_event/test_apps/.build-test-rules.yml +++ b/components/esp_event/test_apps/.build-test-rules.yml @@ -4,3 +4,5 @@ components/esp_event/test_apps: enable: - if: IDF_TARGET in ["esp32", "esp32s2", "esp32c3", "linux"] reason: covers all major arch types, xtensa vs riscv, single vs dual-core + depends_components: + - esp_event diff --git a/examples/system/.build-test-rules.yml b/examples/system/.build-test-rules.yml index 10a64efde8..496774ad54 100644 --- a/examples/system/.build-test-rules.yml +++ b/examples/system/.build-test-rules.yml @@ -60,6 +60,14 @@ examples/system/efuse: - efuse - bootloader_support +examples/system/esp_event/default_event_loop: + depends_components: + - esp_event + +examples/system/esp_event/user_event_loops: + depends_components: + - esp_event + examples/system/esp_timer: depends_components: - esp_timer From d2a4f52aac8fb280d4880836ba37d03062732b4c Mon Sep 17 00:00:00 2001 From: Konstantin Kondrashov Date: Wed, 26 Nov 2025 17:02:41 +0200 Subject: [PATCH 5/7] feat(esp_event): Update depends_components Where esp_event is used as depends_components: - components/esp_event/host_test - components/esp_event/test_apps - examples/system/esp_event/default_event_loop - examples/system/esp_event/user_event_loops --- components/wpa_supplicant/test_apps/.build-test-rules.yml | 1 - examples/bluetooth/.build-test-rules.yml | 4 ---- examples/ethernet/.build-test-rules.yml | 2 -- examples/wifi/.build-test-rules.yml | 6 ------ 4 files changed, 13 deletions(-) diff --git a/components/wpa_supplicant/test_apps/.build-test-rules.yml b/components/wpa_supplicant/test_apps/.build-test-rules.yml index d2f10ee013..64d2e64c5d 100644 --- a/components/wpa_supplicant/test_apps/.build-test-rules.yml +++ b/components/wpa_supplicant/test_apps/.build-test-rules.yml @@ -7,4 +7,3 @@ components/wpa_supplicant/test_apps: - esp_wifi - wpa_supplicant - mbedtls - - esp_event diff --git a/examples/bluetooth/.build-test-rules.yml b/examples/bluetooth/.build-test-rules.yml index 93651195db..40f1304b00 100644 --- a/examples/bluetooth/.build-test-rules.yml +++ b/examples/bluetooth/.build-test-rules.yml @@ -93,7 +93,6 @@ examples/bluetooth/blufi: depends_components+: - esp_console - esp_wifi - - esp_event examples/bluetooth/esp_ble_mesh: <<: *bt_default_depends @@ -284,7 +283,6 @@ examples/bluetooth/nimble/blecent: disable: - if: SOC_BLE_SUPPORTED != 1 depends_components+: - - esp_event - esp_coex - esp_pm depends_filepatterns: @@ -308,7 +306,6 @@ examples/bluetooth/nimble/bleprph_wifi_coex: - if: SOC_BLE_SUPPORTED != 1 - if: SOC_WIFI_SUPPORTED != 1 depends_components+: - - esp_event - esp_hid - esp_wifi - esp_coex @@ -328,7 +325,6 @@ examples/bluetooth/nimble/power_save: disable: - if: SOC_BLE_SUPPORTED != 1 depends_components+: - - esp_event - esp_coex - esp_pm depends_filepatterns: diff --git a/examples/ethernet/.build-test-rules.yml b/examples/ethernet/.build-test-rules.yml index be1747c0ce..10a75497a2 100644 --- a/examples/ethernet/.build-test-rules.yml +++ b/examples/ethernet/.build-test-rules.yml @@ -9,7 +9,6 @@ examples/ethernet/basic: - esp_eth - esp_netif - lwip - - esp_event - esp_driver_gpio examples/ethernet/iperf: @@ -24,7 +23,6 @@ examples/ethernet/iperf: - esp_eth - esp_netif - lwip - - esp_event - console - esp_driver_gpio - esp_driver_spi diff --git a/examples/wifi/.build-test-rules.yml b/examples/wifi/.build-test-rules.yml index 3aa9f4c908..2ee5860724 100644 --- a/examples/wifi/.build-test-rules.yml +++ b/examples/wifi/.build-test-rules.yml @@ -5,7 +5,6 @@ - esp_wifi - esp_phy - esp_netif - - esp_event - esp_coex - wpa_supplicant - mbedtls @@ -61,7 +60,6 @@ examples/wifi/iperf: - esp_phy - esp_netif - lwip - - esp_event - esp_coex - wpa_supplicant @@ -81,7 +79,6 @@ examples/wifi/power_save: - esp_phy - esp_netif - lwip - - esp_event - esp_coex - wpa_supplicant - esp_driver_uart @@ -107,7 +104,6 @@ examples/wifi/wifi_aware/nan_console: - esp_phy - esp_netif - lwip - - esp_event - esp_coex - wpa_supplicant - mbedtls @@ -124,7 +120,6 @@ examples/wifi/wifi_aware/nan_publisher: - esp_phy - esp_netif - lwip - - esp_event - esp_coex - wpa_supplicant - mbedtls @@ -139,7 +134,6 @@ examples/wifi/wifi_aware/nan_subscriber: - esp_phy - esp_netif - lwip - - esp_event - esp_coex - wpa_supplicant - mbedtls From 09c5424c98db6bcfc9415dd4f446e5a8294c93b7 Mon Sep 17 00:00:00 2001 From: Konstantin Kondrashov Date: Wed, 26 Nov 2025 17:42:53 +0200 Subject: [PATCH 6/7] feat(esp_rom): Update depends_components Where esp_rom is used as depends_components: - components/esp_rom/test_apps/linux_rom_apis - components/esp_rom/test_apps/rom_impl_components - components/esp_rom/test_apps/rom_tests --- components/esp_rom/test_apps/.build-test-rules.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/esp_rom/test_apps/.build-test-rules.yml b/components/esp_rom/test_apps/.build-test-rules.yml index 7d6745313d..5093b135de 100644 --- a/components/esp_rom/test_apps/.build-test-rules.yml +++ b/components/esp_rom/test_apps/.build-test-rules.yml @@ -3,6 +3,8 @@ components/esp_rom/test_apps/linux_rom_apis: enable: - if: IDF_TARGET == "linux" + depends_components: + - esp_rom components/esp_rom/test_apps/rom_impl_components: disable: @@ -10,9 +12,13 @@ components/esp_rom/test_apps/rom_impl_components: - if: CONFIG_NAME == "rom_impl_components" and ((ESP_ROM_HAS_HAL_WDT != 1 and ESP_ROM_HAS_HAL_SYSTIMER != 1) and (ESP_ROM_HAS_HEAP_TLSF != 1 and ESP_ROM_HAS_SPI_FLASH != 1)) - if: CONFIG_NAME == "no_rom_impl_components" and ((ESP_ROM_HAS_HAL_WDT != 1 and ESP_ROM_HAS_HAL_SYSTIMER != 1) and (ESP_ROM_HAS_HEAP_TLSF != 1 and ESP_ROM_HAS_SPI_FLASH != 1)) - if: SOC_WDT_SUPPORTED != 1 + depends_components: + - esp_rom components/esp_rom/test_apps/rom_tests: disable_test: - if: IDF_TARGET in ["esp32", "esp32c2"] temporary: false reason: lack of memory for testing miniz compressing + depends_components: + - esp_rom From 642126dde06eb70129b541969ec73e2973aa9238 Mon Sep 17 00:00:00 2001 From: Konstantin Kondrashov Date: Wed, 26 Nov 2025 18:23:09 +0200 Subject: [PATCH 7/7] feat(bootloader_support): Update depends_components Where bootloader_support is used as depends_components: - components/app_update/test_apps - components/bootloader_support/test_apps/bootloader_support - components/bootloader_support/test_apps/rtc_custom_section - examples/custom_bootloader/bootloader_extra_dir - examples/custom_bootloader/bootloader_hooks - examples/custom_bootloader/bootloader_multiboot - examples/custom_bootloader/bootloader_override - examples/security/flash_encryption - examples/security/security_features_app - examples/system/efuse - examples/system/ota/native_ota_example - tools/test_apps/system/mmu_page_size --- .../test_app_update/.build-test-rules.yml | 4 ++++ .../test_apps/.build-test-rules.yml | 9 +++++++ .../custom_bootloader/.build-test-rules.yml | 24 +++++++++++++++++++ examples/security/.build-test-rules.yml | 4 ++++ 4 files changed, 41 insertions(+) diff --git a/components/app_update/test_apps/test_app_update/.build-test-rules.yml b/components/app_update/test_apps/test_app_update/.build-test-rules.yml index ce361079ee..6f8991679c 100644 --- a/components/app_update/test_apps/test_app_update/.build-test-rules.yml +++ b/components/app_update/test_apps/test_app_update/.build-test-rules.yml @@ -22,3 +22,7 @@ components/app_update/test_apps: - if: CONFIG_NAME == "recovery_bootloader" and SOC_RECOVERY_BOOTLOADER_SUPPORTED == 1 and IDF_TARGET == "esp32c61" temporary: true reason: lack of runners # TODO: [ESP32C61] IDF-13165 + depends_components: + - app_update + - bootloader_support + - esp_partitions diff --git a/components/bootloader_support/test_apps/.build-test-rules.yml b/components/bootloader_support/test_apps/.build-test-rules.yml index 1dbe91f913..b8829a36e5 100644 --- a/components/bootloader_support/test_apps/.build-test-rules.yml +++ b/components/bootloader_support/test_apps/.build-test-rules.yml @@ -1,6 +1,15 @@ # Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps +components/bootloader_support/test_apps/bootloader_support: + disable_test: + - if: IDF_TARGET not in ["esp32", "esp32s3", "esp32c3"] + reason: Testing on two diff architectures is sufficient + depends_components: + - bootloader_support + components/bootloader_support/test_apps/rtc_custom_section: enable: - if: SOC_RTC_MEM_SUPPORTED == 1 reason: this feature is supported on chips that have RTC memory + depends_components: + - bootloader_support diff --git a/examples/custom_bootloader/.build-test-rules.yml b/examples/custom_bootloader/.build-test-rules.yml index 3ad2858ca1..64373f8301 100644 --- a/examples/custom_bootloader/.build-test-rules.yml +++ b/examples/custom_bootloader/.build-test-rules.yml @@ -1,6 +1,30 @@ # Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps + +examples/custom_bootloader/bootloader_extra_dir: + disable_test: + - if: IDF_TARGET not in ["esp32s3", "esp32c3"] + reason: Testing on two diff architectures is sufficient + depends_components: + - bootloader_support + +examples/custom_bootloader/bootloader_hooks: + disable_test: + - if: IDF_TARGET not in ["esp32s3", "esp32c3"] + reason: Testing on two diff architectures is sufficient + depends_components: + - bootloader_support + examples/custom_bootloader/bootloader_multiboot: disable_test: - if: IDF_TARGET not in ["esp32s3", "esp32c3"] reason: Testing on two diff architectures is sufficient + depends_components: + - bootloader_support + +examples/custom_bootloader/bootloader_override: + disable_test: + - if: IDF_TARGET not in ["esp32s3", "esp32c3"] + reason: Testing on two diff architectures is sufficient + depends_components: + - bootloader_support diff --git a/examples/security/.build-test-rules.yml b/examples/security/.build-test-rules.yml index 4f33c4f123..219419b08a 100644 --- a/examples/security/.build-test-rules.yml +++ b/examples/security/.build-test-rules.yml @@ -10,6 +10,8 @@ examples/security/flash_encryption: - if: IDF_TARGET in ["esp32s2", "esp32s3", "esp32c6", "esp32h2", "esp32c2", "esp32c5", "esp32c61"] temporary: true reason: lack of runners + depends_components: + - bootloader_support examples/security/hmac_soft_jtag: disable: @@ -38,6 +40,8 @@ examples/security/nvs_encryption_hmac: examples/security/security_features_app: disable: - if: IDF_TARGET not in ["esp32c3", "esp32s3"] + depends_components: + - bootloader_support examples/security/tee/tee_attestation: disable: