ci(esp32h4): disable tests which cannot pass

This commit is contained in:
Chen Jichang
2026-05-11 16:48:58 +08:00
committed by morris
parent 645ff40cde
commit 3c3b9a6a4e
72 changed files with 335 additions and 40 deletions
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
# SPDX-FileCopyrightText: 2025-2026 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: CC0-1.0
import os
@@ -6,6 +6,7 @@ import pytest
import serial
from pytest_embedded import Dut
from pytest_embedded_idf.utils import idf_parametrize
from pytest_embedded_idf.utils import soc_filtered_targets
PACKET_SIZE = 10 * 1024 # 10 KB for upper computer
FLASH_PORT = '/dev/serial_ports/ttyUSB-esp32'
@@ -42,7 +43,9 @@ def send_file_via_uart(port: str, baud_rate: int, file_path: str, packet_size: i
],
indirect=True,
)
@idf_parametrize('target', ['esp32c6', 'esp32c3', 'esp32c5', 'esp32s3', 'esp32h2', 'esp32p4', 'esp32h4'], indirect=['target'])
@idf_parametrize('target', soc_filtered_targets('SOC_UHCI_SUPPORTED == 1'), indirect=['target'])
@pytest.mark.temp_skip_ci(targets=['esp32h4'], reason='lack of runner # TODO: IDFCI-10703')
@pytest.mark.temp_skip_ci(targets=['esp32s31'], reason='lack of runner # TODO: IDFCI-11113')
def test_uart_dma_ota(dut: Dut) -> None:
dut.expect_exact('uhci-example: OTA process started')
# We OTA the same binary to another partition and switch to there.