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