Merge branch 'ci/enable_ip101_jobs_v5.2' into 'release/v5.2'

ci(esp_eth): enabled Ethernet ip101 jobs (v5.2)

See merge request espressif/esp-idf!28613
This commit is contained in:
Jiang Jiang Jian
2024-02-19 11:02:42 +08:00
4 changed files with 24 additions and 3 deletions

View File

@@ -24,6 +24,7 @@ class EthTestIntf(object):
def find_target_if(self, my_if: str = '') -> None:
# try to determine which interface to use
netifs = os.listdir('/sys/class/net/')
# order matters - ETH NIC with the highest number is connected to DUT on CI runner
netifs.sort(reverse=True)
logging.info('detected interfaces: %s', str(netifs))
@@ -203,7 +204,7 @@ def test_esp_emac_hal(dut: IdfDut) -> None:
@pytest.mark.esp32
@pytest.mark.ip101
@pytest.mark.eth_ip101
@pytest.mark.parametrize('config', [
'default_ip101',
], indirect=True)