fix(ci): add ci test for gpio etm test cases

This commit is contained in:
Song Ruo Jing
2025-08-13 21:27:46 +08:00
parent 67a2dfa293
commit 8b00eb2472
2 changed files with 14 additions and 3 deletions
@@ -12,7 +12,7 @@
#include "driver/gpio_etm.h"
#include "driver/gpio.h"
TEST_CASE("gpio_etm_self_trigger", "[etm]")
TEST_CASE("gpio_etm_self_trigger", "[gpio_etm]")
{
// GPIO any edge ---> EMT channel ---> GPIO toggle
const uint32_t input_gpio = 0;
@@ -91,7 +91,7 @@ TEST_CASE("gpio_etm_self_trigger", "[etm]")
TEST_ESP_OK(esp_etm_del_channel(etm_channel_a));
}
TEST_CASE("gpio_etm_self_trigger_multi_action", "[etm]")
TEST_CASE("gpio_etm_self_trigger_multi_action", "[gpio_etm]")
{
// GPIO 0 pos edge event ---> GPIO 1 set level task
// GPIO 2 pos edge event ---> GPIO 1 clear level task
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: CC0-1.0
import pytest
from pytest_embedded_idf import IdfDut
@@ -37,3 +37,14 @@ def test_gpio_filter(dut: IdfDut) -> None:
@pytest.mark.parametrize('config', CONFIGS, indirect=True)
def test_dedic_gpio(dut: IdfDut) -> None:
dut.run_all_single_board_cases(group='dedic_gpio')
@pytest.mark.esp32c5
@pytest.mark.esp32c6
@pytest.mark.esp32c61
@pytest.mark.esp32h2
@pytest.mark.esp32p4
@pytest.mark.generic
@pytest.mark.parametrize('config', CONFIGS, indirect=True)
def test_gpio_etm(dut: IdfDut) -> None:
dut.run_all_single_board_cases(group='gpio_etm')