mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
51d6296fde
- added new test for usb_host_lib example for all targets - CI USB host test are run on esp32p4 - CI USB device tests temporarily disabled until usb_device runner is fixed - hcd and usb_host tests which do not require PHY are run on esp32p4
17 lines
552 B
Python
17 lines
552 B
Python
# SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
import pytest
|
|
from pytest_embedded import Dut
|
|
|
|
|
|
@pytest.mark.esp32s2
|
|
@pytest.mark.esp32s3
|
|
@pytest.mark.esp32p4
|
|
@pytest.mark.temp_skip_ci(targets=['esp32s2'], reason='lack of runners with usb_host_flash_disk tag')
|
|
@pytest.mark.usb_host_flash_disk
|
|
def test_usb_host(dut: Dut) -> None:
|
|
if (dut.target == 'esp32s3'):
|
|
dut.run_all_single_board_cases(group='full_speed')
|
|
else:
|
|
dut.run_all_single_board_cases(group='high_speed')
|