mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
Merge branch 'feat/add_static_tx_buffer_conn_case' into 'release/v5.2'
ci: Add wifi static tx buffer case v5.2 See merge request espressif/esp-idf!47979
This commit is contained in:
@@ -4,7 +4,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"]
|
||||
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3", "esp32c2", "esp32c6"]
|
||||
reason: leak of runner
|
||||
|
||||
components/esp_wifi/test_apps/wifi_function:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-FileCopyrightText: 2022-2026 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||
import pytest
|
||||
from pytest_embedded_idf.unity_tester import CaseTester
|
||||
@@ -7,8 +7,16 @@ from pytest_embedded_idf.unity_tester import CaseTester
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.esp32c3
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.esp32c6
|
||||
@pytest.mark.two_duts
|
||||
@pytest.mark.parametrize('count', [2], indirect=True)
|
||||
@pytest.mark.parametrize(
|
||||
'count, config',
|
||||
[
|
||||
(2, 'default'),
|
||||
(2, 'static_tx_buf'),
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
def test_wifi_connect_cases(case_tester: CaseTester) -> None: # type: ignore
|
||||
case_tester.run_all_cases()
|
||||
|
||||
@@ -20,6 +28,7 @@ def test_wifi_connect_cases(case_tester: CaseTester) -> None: # type: ignore
|
||||
'count, config, baud',
|
||||
[
|
||||
(2, 'esp32c2_xtal26m', '74880'),
|
||||
(2, 'esp32c2_xtal26m_static_tx_buf', '74880'),
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
CONFIG_IDF_TARGET="esp32c2"
|
||||
CONFIG_XTAL_FREQ_26=y
|
||||
CONFIG_ESP_WIFI_STATIC_TX_BUFFER=y
|
||||
@@ -0,0 +1 @@
|
||||
CONFIG_ESP_WIFI_STATIC_TX_BUFFER=y
|
||||
Reference in New Issue
Block a user