kopia lustrzana https://github.com/espressif/esp-idf
ci: enable esp32c5/c6 wifi basic target tests
rodzic
965986bcf1
commit
a8482f580a
|
@ -3,13 +3,7 @@
|
|||
components/esp_wifi/test_apps/wifi_connect:
|
||||
disable:
|
||||
- if: SOC_WIFI_SUPPORTED != 1
|
||||
disable_test:
|
||||
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3", "esp32c2"]
|
||||
reason: lack of runner
|
||||
|
||||
components/esp_wifi/test_apps/wifi_function:
|
||||
disable:
|
||||
- if: SOC_WIFI_SUPPORTED != 1
|
||||
disable_test:
|
||||
- if: IDF_TARGET == "esp32c61"
|
||||
reason: lack of runner
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#define TEST_DEFAULT_SSID "SSID_" CONFIG_IDF_TARGET TEST_SUFFIX_STR
|
||||
#define TEST_DEFAULT_PWD "PASS_" CONFIG_IDF_TARGET TEST_SUFFIX_STR
|
||||
#define TEST_DEFAULT_CHANNEL (6)
|
||||
#define CONNECT_TIMEOUT_MS (8000)
|
||||
#define CONNECT_TIMEOUT_MS (10000)
|
||||
|
||||
#define GOT_IP_EVENT (1)
|
||||
#define WIFI_DISCONNECT_EVENT (1<<1)
|
||||
|
|
|
@ -6,7 +6,11 @@ from pytest_embedded_idf.unity_tester import CaseTester
|
|||
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.esp32c3
|
||||
@pytest.mark.esp32s2
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.esp32c5
|
||||
@pytest.mark.esp32c6
|
||||
@pytest.mark.esp32c61
|
||||
@pytest.mark.wifi_two_dut
|
||||
@pytest.mark.parametrize('count', [2], indirect=True)
|
||||
def test_wifi_connect_cases(case_tester: CaseTester) -> None: # type: ignore
|
||||
|
|
|
@ -9,6 +9,7 @@ from pytest_embedded import Dut
|
|||
@pytest.mark.esp32s2
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.esp32c6
|
||||
@pytest.mark.esp32c61
|
||||
@pytest.mark.esp32c5
|
||||
# @pytest.mark.esp32c2 # esp32c2 are using xtal_26mhz
|
||||
@pytest.mark.generic
|
||||
|
|
|
@ -154,10 +154,6 @@ examples/protocols/https_x509_bundle:
|
|||
|
||||
examples/protocols/icmp_echo:
|
||||
<<: *default_dependencies
|
||||
disable:
|
||||
- if: IDF_TARGET in ["esp32c61"]
|
||||
temporary: true
|
||||
reason: not supported on c61 # TODO: [ESP32-C5] IDF-8697, [ESP32C61] IDF-9298
|
||||
disable_test:
|
||||
- if: SOC_WIFI_SUPPORTED != 1
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | -------- |
|
||||
|
||||
# ICMP Echo-Reply (Ping) example
|
||||
|
||||
|
|
|
@ -40,6 +40,7 @@ def _run_test(dut: Dut) -> None:
|
|||
@pytest.mark.esp32s3
|
||||
@pytest.mark.esp32c5
|
||||
@pytest.mark.esp32c6
|
||||
@pytest.mark.esp32c61
|
||||
@pytest.mark.wifi_ap
|
||||
def test_protocols_icmp_echo(dut: Dut) -> None:
|
||||
_run_test(dut)
|
||||
|
|
|
@ -29,10 +29,6 @@ examples/wifi/getting_started:
|
|||
<<: *wifi_depends_default
|
||||
disable:
|
||||
- if: SOC_WIFI_SUPPORTED != 1
|
||||
disable_test:
|
||||
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32c2", "esp32s3"]
|
||||
temporary: true
|
||||
reason: lack of runners
|
||||
depends_filepatterns:
|
||||
- examples/wifi/getting_started/**/*
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
import os.path
|
||||
from typing import Tuple
|
||||
|
||||
|
@ -23,7 +22,11 @@ from pytest_embedded_idf.dut import IdfDut
|
|||
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.esp32c3
|
||||
@pytest.mark.esp32s2
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.esp32c5
|
||||
@pytest.mark.esp32c6
|
||||
@pytest.mark.esp32c61
|
||||
@pytest.mark.wifi_two_dut
|
||||
@pytest.mark.parametrize(
|
||||
'count, app_path', [
|
||||
|
|
Ładowanie…
Reference in New Issue