|
|
|
@@ -91,11 +91,16 @@ default_cli_ot_para = ocf.thread_parameter('router', '', '', '', False)
|
|
|
|
|
@pytest.mark.flaky(reruns=1, reruns_delay=1)
|
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
|
'config, count, app_path, target', [
|
|
|
|
|
('rcp|cli_h2|br', 3,
|
|
|
|
|
('rcp_uart|cli|br', 3,
|
|
|
|
|
f'{os.path.join(os.path.dirname(__file__), "ot_rcp")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_cli")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_br")}',
|
|
|
|
|
'esp32c6|esp32h2|esp32s3'),
|
|
|
|
|
('rcp_spi|cli|br_spi', 3,
|
|
|
|
|
f'{os.path.join(os.path.dirname(__file__), "ot_rcp")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_cli")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_br")}',
|
|
|
|
|
'esp32h2|esp32c6|esp32s3'),
|
|
|
|
|
],
|
|
|
|
|
indirect=True,
|
|
|
|
|
)
|
|
|
|
@@ -161,7 +166,7 @@ def formBasicWiFiThreadNetwork(br:IdfDut, cli:IdfDut) -> None:
|
|
|
|
|
@pytest.mark.flaky(reruns=1, reruns_delay=1)
|
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
|
'config, count, app_path, target', [
|
|
|
|
|
('rcp|cli_h2|br', 3,
|
|
|
|
|
('rcp_uart|cli|br', 3,
|
|
|
|
|
f'{os.path.join(os.path.dirname(__file__), "ot_rcp")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_cli")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_br")}',
|
|
|
|
@@ -210,7 +215,7 @@ def test_Bidirectional_IPv6_connectivity(Init_interface:bool, dut: Tuple[IdfDut,
|
|
|
|
|
@pytest.mark.flaky(reruns=1, reruns_delay=1)
|
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
|
'config, count, app_path, target', [
|
|
|
|
|
('rcp|cli_h2|br', 3,
|
|
|
|
|
('rcp_uart|cli|br', 3,
|
|
|
|
|
f'{os.path.join(os.path.dirname(__file__), "ot_rcp")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_cli")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_br")}',
|
|
|
|
@@ -260,7 +265,7 @@ def test_multicast_forwarding_A(Init_interface:bool, dut: Tuple[IdfDut, IdfDut,
|
|
|
|
|
@pytest.mark.flaky(reruns=1, reruns_delay=1)
|
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
|
'config, count, app_path, target', [
|
|
|
|
|
('rcp|cli_h2|br', 3,
|
|
|
|
|
('rcp_uart|cli|br', 3,
|
|
|
|
|
f'{os.path.join(os.path.dirname(__file__), "ot_rcp")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_cli")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_br")}',
|
|
|
|
@@ -311,7 +316,7 @@ def test_multicast_forwarding_B(Init_interface:bool, dut: Tuple[IdfDut, IdfDut,
|
|
|
|
|
@pytest.mark.flaky(reruns=1, reruns_delay=1)
|
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
|
'config, count, app_path, target', [
|
|
|
|
|
('rcp|cli_h2|br', 3,
|
|
|
|
|
('rcp_uart|cli|br', 3,
|
|
|
|
|
f'{os.path.join(os.path.dirname(__file__), "ot_rcp")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_cli")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_br")}',
|
|
|
|
@@ -367,7 +372,7 @@ def test_service_discovery_of_Thread_device(Init_interface:bool, Init_avahi:bool
|
|
|
|
|
@pytest.mark.flaky(reruns=1, reruns_delay=1)
|
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
|
'config, count, app_path, target', [
|
|
|
|
|
('rcp|cli_h2|br', 3,
|
|
|
|
|
('rcp_uart|cli|br', 3,
|
|
|
|
|
f'{os.path.join(os.path.dirname(__file__), "ot_rcp")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_cli")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_br")}',
|
|
|
|
@@ -430,7 +435,7 @@ def test_service_discovery_of_WiFi_device(Init_interface:bool, Init_avahi:bool,
|
|
|
|
|
@pytest.mark.flaky(reruns=1, reruns_delay=1)
|
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
|
'config, count, app_path, target', [
|
|
|
|
|
('rcp|cli_h2|br', 3,
|
|
|
|
|
('rcp_uart|cli|br', 3,
|
|
|
|
|
f'{os.path.join(os.path.dirname(__file__), "ot_rcp")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_cli")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_br")}',
|
|
|
|
@@ -465,7 +470,7 @@ def test_ICMP_NAT64(Init_interface:bool, dut: Tuple[IdfDut, IdfDut, IdfDut]) ->
|
|
|
|
|
@pytest.mark.flaky(reruns=1, reruns_delay=1)
|
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
|
'config, count, app_path, target', [
|
|
|
|
|
('rcp|cli_h2|br', 3,
|
|
|
|
|
('rcp_uart|cli|br', 3,
|
|
|
|
|
f'{os.path.join(os.path.dirname(__file__), "ot_rcp")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_cli")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_br")}',
|
|
|
|
@@ -518,7 +523,7 @@ def test_UDP_NAT64(Init_interface:bool, dut: Tuple[IdfDut, IdfDut, IdfDut]) -> N
|
|
|
|
|
@pytest.mark.flaky(reruns=1, reruns_delay=1)
|
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
|
'config, count, app_path, target', [
|
|
|
|
|
('rcp|cli_h2|br', 3,
|
|
|
|
|
('rcp_uart|cli|br', 3,
|
|
|
|
|
f'{os.path.join(os.path.dirname(__file__), "ot_rcp")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_cli")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_br")}',
|
|
|
|
@@ -575,11 +580,11 @@ def test_TCP_NAT64(Init_interface:bool, dut: Tuple[IdfDut, IdfDut, IdfDut]) -> N
|
|
|
|
|
@pytest.mark.openthread_sleep
|
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
|
'config, count, app_path, target', [
|
|
|
|
|
('cli_h2|sleepy_c6', 2,
|
|
|
|
|
('cli|sleepy', 2,
|
|
|
|
|
f'{os.path.join(os.path.dirname(__file__), "ot_cli")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_sleepy_device/light_sleep")}',
|
|
|
|
|
'esp32h2|esp32c6'),
|
|
|
|
|
('cli_c6|sleepy_h2', 2,
|
|
|
|
|
('cli|sleepy', 2,
|
|
|
|
|
f'{os.path.join(os.path.dirname(__file__), "ot_cli")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_sleepy_device/light_sleep")}',
|
|
|
|
|
'esp32c6|esp32h2'),
|
|
|
|
@@ -627,7 +632,7 @@ def test_ot_sleepy_device(dut: Tuple[IdfDut, IdfDut]) -> None:
|
|
|
|
|
@pytest.mark.flaky(reruns=1, reruns_delay=1)
|
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
|
'config, count, app_path, target', [
|
|
|
|
|
('rcp|br', 2,
|
|
|
|
|
('rcp_uart|br', 2,
|
|
|
|
|
f'{os.path.join(os.path.dirname(__file__), "ot_rcp")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_br")}',
|
|
|
|
|
'esp32c6|esp32s3'),
|
|
|
|
@@ -666,7 +671,7 @@ def test_basic_startup(dut: Tuple[IdfDut, IdfDut]) -> None:
|
|
|
|
|
@pytest.mark.flaky(reruns=1, reruns_delay=1)
|
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
|
'config, count, app_path, target', [
|
|
|
|
|
('rcp|cli_h2|br', 3,
|
|
|
|
|
('rcp_uart|cli|br', 3,
|
|
|
|
|
f'{os.path.join(os.path.dirname(__file__), "ot_rcp")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_cli")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_br")}',
|
|
|
|
@@ -703,7 +708,7 @@ def test_NAT64_DNS(Init_interface:bool, dut: Tuple[IdfDut, IdfDut, IdfDut]) -> N
|
|
|
|
|
@pytest.mark.flaky(reruns=1, reruns_delay=1)
|
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
|
'config, count, app_path, target', [
|
|
|
|
|
('rcp|br', 2,
|
|
|
|
|
('rcp_uart|br', 2,
|
|
|
|
|
f'{os.path.join(os.path.dirname(__file__), "ot_rcp")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_br")}',
|
|
|
|
|
'esp32c6|esp32s3'),
|
|
|
|
@@ -761,7 +766,7 @@ def test_br_meshcop(Init_interface:bool, Init_avahi:bool, dut: Tuple[IdfDut, Idf
|
|
|
|
|
@pytest.mark.flaky(reruns=1, reruns_delay=1)
|
|
|
|
|
@pytest.mark.parametrize(
|
|
|
|
|
'config, count, app_path, target', [
|
|
|
|
|
('rcp|cli_h2|br', 3,
|
|
|
|
|
('rcp_uart|cli|br', 3,
|
|
|
|
|
f'{os.path.join(os.path.dirname(__file__), "ot_rcp")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_cli")}'
|
|
|
|
|
f'|{os.path.join(os.path.dirname(__file__), "ot_br")}',
|
|
|
|
|