mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
fix: Component depends rules for networking and protocols
Reduces the scope of testing to the direct dependencies.
This commit is contained in:
committed by
Euripedes Rocha
parent
49c770cf85
commit
985af4a130
@@ -5,5 +5,11 @@ components/esp_eth/test_apps:
|
|||||||
- if: IDF_TARGET in ["esp32", "esp32p4"]
|
- if: IDF_TARGET in ["esp32", "esp32p4"]
|
||||||
reason: ESP32 and ESP32P4 have internal EMAC. SPI Ethernet runners are based on ESP32.
|
reason: ESP32 and ESP32P4 have internal EMAC. SPI Ethernet runners are based on ESP32.
|
||||||
depends_components:
|
depends_components:
|
||||||
- *common_components
|
|
||||||
- esp_eth
|
- esp_eth
|
||||||
|
- esp_http_client
|
||||||
|
- esp_hw_support
|
||||||
|
- esp_netif
|
||||||
|
- esp_timer
|
||||||
|
- hal
|
||||||
|
- lwip
|
||||||
|
- soc
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ components/esp_netif/test_apps/test_app_esp_netif:
|
|||||||
temporary: false
|
temporary: false
|
||||||
reason: Not needed to test on all targets (chosen two, one for each architecture)
|
reason: Not needed to test on all targets (chosen two, one for each architecture)
|
||||||
depends_components:
|
depends_components:
|
||||||
- *common_components
|
|
||||||
- esp_netif
|
- esp_netif
|
||||||
- lwip
|
- lwip
|
||||||
- esp_eth
|
- esp_eth
|
||||||
@@ -18,7 +17,6 @@ components/esp_netif/test_apps/test_app_vfs_l2tap:
|
|||||||
temporary: true
|
temporary: true
|
||||||
reason: Not needed to test on all targets (chosen two, one for each architecture plus P4 tests time stamping)
|
reason: Not needed to test on all targets (chosen two, one for each architecture plus P4 tests time stamping)
|
||||||
depends_components:
|
depends_components:
|
||||||
- *common_components
|
|
||||||
- esp_netif
|
- esp_netif
|
||||||
- lwip
|
- lwip
|
||||||
- esp_eth
|
- esp_eth
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ examples/ethernet/basic:
|
|||||||
disable:
|
disable:
|
||||||
- if: IDF_TARGET not in ["esp32", "esp32p4"]
|
- if: IDF_TARGET not in ["esp32", "esp32p4"]
|
||||||
depends_components:
|
depends_components:
|
||||||
- *common_components
|
|
||||||
- esp_eth
|
- esp_eth
|
||||||
- esp_netif
|
- esp_netif
|
||||||
- lwip
|
- lwip
|
||||||
@@ -29,12 +28,10 @@ examples/ethernet/iperf:
|
|||||||
- esp_driver_gpio
|
- esp_driver_gpio
|
||||||
- esp_driver_spi
|
- esp_driver_spi
|
||||||
- cmd_system
|
- cmd_system
|
||||||
- protocol_examples_common
|
|
||||||
|
|
||||||
examples/ethernet/ptp:
|
examples/ethernet/ptp:
|
||||||
enable:
|
enable:
|
||||||
- if: SOC_EMAC_IEEE1588V2_SUPPORTED == 1
|
- if: SOC_EMAC_IEEE1588V2_SUPPORTED == 1
|
||||||
depends_components:
|
depends_components:
|
||||||
- *common_components
|
|
||||||
- esp_eth
|
- esp_eth
|
||||||
- esp_netif
|
- esp_netif
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ examples/network/bridge:
|
|||||||
- if: IDF_TARGET != "esp32"
|
- if: IDF_TARGET != "esp32"
|
||||||
reason: Generic functionality, no need to be run on specific targets
|
reason: Generic functionality, no need to be run on specific targets
|
||||||
depends_components:
|
depends_components:
|
||||||
- *common_components
|
|
||||||
- esp_eth
|
- esp_eth
|
||||||
- esp_netif
|
- esp_netif
|
||||||
- lwip
|
- lwip
|
||||||
@@ -19,7 +18,6 @@ examples/network/eth2ap:
|
|||||||
disable:
|
disable:
|
||||||
- if: SOC_WIFI_SUPPORTED != 1
|
- if: SOC_WIFI_SUPPORTED != 1
|
||||||
depends_components:
|
depends_components:
|
||||||
- *common_components
|
|
||||||
- esp_eth
|
- esp_eth
|
||||||
- esp_wifi
|
- esp_wifi
|
||||||
|
|
||||||
@@ -27,7 +25,6 @@ examples/network/simple_sniffer:
|
|||||||
disable:
|
disable:
|
||||||
- if: SOC_WIFI_SUPPORTED != 1
|
- if: SOC_WIFI_SUPPORTED != 1
|
||||||
depends_components:
|
depends_components:
|
||||||
- *common_components
|
|
||||||
- esp_wifi
|
- esp_wifi
|
||||||
- fatfs
|
- fatfs
|
||||||
- esp_eth
|
- esp_eth
|
||||||
@@ -36,7 +33,6 @@ examples/network/sta2eth:
|
|||||||
disable:
|
disable:
|
||||||
- if: SOC_WIFI_SUPPORTED != 1
|
- if: SOC_WIFI_SUPPORTED != 1
|
||||||
depends_components:
|
depends_components:
|
||||||
- *common_components
|
|
||||||
- esp_eth
|
- esp_eth
|
||||||
- esp_wifi
|
- esp_wifi
|
||||||
- protocomm
|
- protocomm
|
||||||
@@ -52,6 +48,5 @@ examples/network/vlan_support:
|
|||||||
- if: IDF_TARGET not in ["esp32"]
|
- if: IDF_TARGET not in ["esp32"]
|
||||||
reason: Runner uses esp32 ethernet kit
|
reason: Runner uses esp32 ethernet kit
|
||||||
depends_components:
|
depends_components:
|
||||||
- *common_components
|
|
||||||
- esp_eth
|
- esp_eth
|
||||||
- esp_netif
|
- esp_netif
|
||||||
|
|||||||
@@ -73,6 +73,8 @@ examples/protocols/http_server/captive_portal:
|
|||||||
reason: only test on esp32
|
reason: only test on esp32
|
||||||
depends_components+:
|
depends_components+:
|
||||||
- esp_http_server
|
- esp_http_server
|
||||||
|
depends_components-:
|
||||||
|
- protocol_examples_common
|
||||||
|
|
||||||
examples/protocols/http_server/restful_server:
|
examples/protocols/http_server/restful_server:
|
||||||
<<: *default_rules
|
<<: *default_rules
|
||||||
@@ -216,3 +218,5 @@ examples/protocols/static_ip:
|
|||||||
- if: IDF_TARGET != "esp32"
|
- if: IDF_TARGET != "esp32"
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: lack of runners
|
reason: lack of runners
|
||||||
|
depends_components-:
|
||||||
|
- protocol_examples_common
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ tools/test_apps/protocols/esp_netif/build_config:
|
|||||||
temporary: false
|
temporary: false
|
||||||
reason: No need to test on all targets
|
reason: No need to test on all targets
|
||||||
depends_components:
|
depends_components:
|
||||||
- *common_components
|
|
||||||
- esp_netif
|
- esp_netif
|
||||||
|
|
||||||
tools/test_apps/protocols/netif_components:
|
tools/test_apps/protocols/netif_components:
|
||||||
@@ -15,6 +14,5 @@ tools/test_apps/protocols/netif_components:
|
|||||||
temporary: true
|
temporary: true
|
||||||
reason: one target is enough to verify netif component dependencies
|
reason: one target is enough to verify netif component dependencies
|
||||||
depends_components:
|
depends_components:
|
||||||
- *common_components
|
|
||||||
- esp_netif
|
- esp_netif
|
||||||
- lwip
|
- lwip
|
||||||
|
|||||||
Reference in New Issue
Block a user