ci: rename wifi_two_dut to two_duts

This commit is contained in:
Chen Yudong
2025-11-12 10:02:59 +08:00
parent ee063092be
commit dae2b988f4
16 changed files with 115 additions and 106 deletions
@@ -6,6 +6,7 @@ from typing import Tuple
import pytest
from pytest_embedded_idf.dut import IdfDut
from pytest_embedded_idf.utils import idf_parametrize
# @pytest.mark.supported_targets
# This test should support all targets, even between different target types
# For now our CI only support multi dut with esp32
@@ -20,7 +21,7 @@ from pytest_embedded_idf.utils import idf_parametrize
# )
@pytest.mark.wifi_two_dut
@pytest.mark.two_duts
@pytest.mark.parametrize(
'count, app_path',
[
@@ -49,7 +50,7 @@ def test_wifi_getting_started(dut: Tuple[IdfDut, IdfDut]) -> None:
softap.expect('station .+ join, AID=', timeout=60)
@pytest.mark.wifi_two_dut
@pytest.mark.two_duts
@pytest.mark.xtal_26mhz
@pytest.mark.parametrize(
'count, config, baud, app_path',
@@ -80,7 +81,7 @@ def test_wifi_getting_started_esp32c2_xtal_26mhz(dut: Tuple[IdfDut, IdfDut]) ->
softap.expect('station .+ join, AID=', timeout=60)
@pytest.mark.wifi_two_dut
@pytest.mark.two_duts
@pytest.mark.xtal_26mhz
@pytest.mark.esp32c2eco4
@pytest.mark.parametrize(
@@ -112,7 +113,7 @@ def test_wifi_getting_started_esp32c2eco4_xtal_26mhz(dut: Tuple[IdfDut, IdfDut])
softap.expect('station .+ join, AID=', timeout=60)
@pytest.mark.wifi_two_dut
@pytest.mark.two_duts
@pytest.mark.esp32c3eco7
@pytest.mark.parametrize(
'count, config, app_path',
@@ -7,6 +7,7 @@ from typing import Tuple
import pytest
from pytest_embedded import Dut
from pytest_embedded_idf.utils import idf_parametrize
# diff of esp32s2/esp32s3 ~45K, others ~50K
DIFF_THRESHOLD = {
@@ -16,7 +17,7 @@ DIFF_THRESHOLD = {
}
@pytest.mark.wifi_two_dut
@pytest.mark.two_duts
@pytest.mark.parametrize('count, config, skip_autoflash', [(2, 'default|enable_softap', 'y')], indirect=True)
@idf_parametrize(
'target',