mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-28 16:46:31 +03:00
ci: enable esp32c5 for usb_serial_jtag tests
This commit is contained in:
@@ -7,7 +7,7 @@ components/esp_driver_usb_serial_jtag/test_apps/usb_serial_jtag:
|
||||
temporary: true
|
||||
reason: p4 rev3 migration # TODO: IDF-14364
|
||||
disable_test:
|
||||
- if: IDF_TARGET in ["esp32c5", "esp32h4", "esp32h21", "esp32s31"]
|
||||
- if: IDF_TARGET in ["esp32h4", "esp32h21", "esp32s31"]
|
||||
temporary: true
|
||||
reason: No runners.
|
||||
depends_components:
|
||||
@@ -25,7 +25,7 @@ components/esp_driver_usb_serial_jtag/test_apps/usb_serial_jtag_vfs:
|
||||
temporary: true
|
||||
reason: p4 rev3 migration # TODO: IDF-14364
|
||||
disable_test:
|
||||
- if: IDF_TARGET in ["esp32c5", "esp32h4", "esp32h21", "esp32s31"]
|
||||
- if: IDF_TARGET in ["esp32h4", "esp32h21", "esp32s31"]
|
||||
temporary: true
|
||||
reason: No runners.
|
||||
depends_components:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-FileCopyrightText: 2023-2026 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
import pytest
|
||||
from pytest_embedded import Dut
|
||||
@@ -13,7 +13,9 @@ from pytest_embedded_idf.utils import idf_parametrize
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
@idf_parametrize('target', ['esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32c61', 'esp32p4'], indirect=['target'])
|
||||
@idf_parametrize(
|
||||
'target', ['esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32c61', 'esp32p4', 'esp32c5'], indirect=['target']
|
||||
)
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration')
|
||||
def test_usb_serial_jtag_dev(dut: Dut) -> None: # type: ignore
|
||||
dut.expect_exact('Press ENTER to see the list of tests')
|
||||
@@ -36,7 +38,9 @@ def test_usb_serial_jtag_dev(dut: Dut) -> None: # type: ignore
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
@idf_parametrize('target', ['esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32c61', 'esp32p4'], indirect=['target'])
|
||||
@idf_parametrize(
|
||||
'target', ['esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32c61', 'esp32p4', 'esp32c5'], indirect=['target']
|
||||
)
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration')
|
||||
def test_usb_serial_jtag_rom_dev(dut: Dut) -> None: # type: ignore
|
||||
dut.expect_exact('Press ENTER to see the list of tests')
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-FileCopyrightText: 2024-2026 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
import pytest
|
||||
from pytest_embedded import Dut
|
||||
@@ -13,7 +13,9 @@ from pytest_embedded_idf.utils import idf_parametrize
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
@idf_parametrize('target', ['esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32c61', 'esp32p4'], indirect=['target'])
|
||||
@idf_parametrize(
|
||||
'target', ['esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32c61', 'esp32p4', 'esp32c5'], indirect=['target']
|
||||
)
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration')
|
||||
def test_usj_vfs_select(dut: Dut) -> None:
|
||||
test_message = 'test123456789!@#%^&*'
|
||||
@@ -34,7 +36,9 @@ def test_usj_vfs_select(dut: Dut) -> None:
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
@idf_parametrize('target', ['esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32c61', 'esp32p4'], indirect=['target'])
|
||||
@idf_parametrize(
|
||||
'target', ['esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32c61', 'esp32p4', 'esp32c5'], indirect=['target']
|
||||
)
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration')
|
||||
def test_usj_vfs_read_return(dut: Dut) -> None:
|
||||
test_message = '!(@*#&(!*@&#((SDasdkjhad\nce'
|
||||
|
||||
Reference in New Issue
Block a user