mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
ci(esp_eth): moved LAN8720 test to a new runner
This commit is contained in:
parent
d778f085be
commit
44252caf3f
@ -322,7 +322,7 @@ component_ut_pytest_esp32_lan8720:
|
|||||||
- .rules:labels-protected:lan8720 # FIXME: IDFCI-1176
|
- .rules:labels-protected:lan8720 # FIXME: IDFCI-1176
|
||||||
needs:
|
needs:
|
||||||
- build_pytest_components_esp32
|
- build_pytest_components_esp32
|
||||||
tags: [ esp32, lan8720 ]
|
tags: [ esp32, eth_lan8720 ]
|
||||||
|
|
||||||
component_ut_pytest_esp32_flash_encryption:
|
component_ut_pytest_esp32_flash_encryption:
|
||||||
extends:
|
extends:
|
||||||
|
@ -24,6 +24,7 @@ class EthTestIntf(object):
|
|||||||
def find_target_if(self, my_if: str = '') -> None:
|
def find_target_if(self, my_if: str = '') -> None:
|
||||||
# try to determine which interface to use
|
# try to determine which interface to use
|
||||||
netifs = os.listdir('/sys/class/net/')
|
netifs = os.listdir('/sys/class/net/')
|
||||||
|
netifs.sort(reverse=True)
|
||||||
logging.info('detected interfaces: %s', str(netifs))
|
logging.info('detected interfaces: %s', str(netifs))
|
||||||
|
|
||||||
for netif in netifs:
|
for netif in netifs:
|
||||||
@ -181,7 +182,7 @@ def test_esp_eth_ip101(dut: Dut) -> None:
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.esp32
|
@pytest.mark.esp32
|
||||||
@pytest.mark.lan8720
|
@pytest.mark.eth_lan8720
|
||||||
@pytest.mark.parametrize('config', [
|
@pytest.mark.parametrize('config', [
|
||||||
'lan8720',
|
'lan8720',
|
||||||
], indirect=True)
|
], indirect=True)
|
||||||
|
@ -33,7 +33,7 @@ markers =
|
|||||||
nightly_run: tests should be executed as part of the nightly trigger pipeline
|
nightly_run: tests should be executed as part of the nightly trigger pipeline
|
||||||
flash_suspend: support flash suspend feature
|
flash_suspend: support flash suspend feature
|
||||||
ip101: connected via wired 10/100M ethernet
|
ip101: connected via wired 10/100M ethernet
|
||||||
lan8720: connected via LAN8720 ethernet transceiver
|
eth_lan8720: connected via LAN8720 ethernet transceiver
|
||||||
quad_psram: runners with quad psram
|
quad_psram: runners with quad psram
|
||||||
octal_psram: runners with octal psram
|
octal_psram: runners with octal psram
|
||||||
usb_host: usb host runners
|
usb_host: usb host runners
|
||||||
|
Loading…
x
Reference in New Issue
Block a user