Files
esp-idf/tools/test_apps/system/longjmp_test/pytest_longjmp.py

12 lines
380 B
Python
Raw Normal View History

2025-02-24 10:18:03 +08:00
# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
2022-07-21 12:23:22 +08:00
# SPDX-License-Identifier: CC0-1.0
import pytest
from pytest_embedded import Dut
2025-02-24 10:18:03 +08:00
from pytest_embedded_idf.utils import idf_parametrize
2022-07-21 12:23:22 +08:00
@pytest.mark.generic
2025-02-24 10:18:03 +08:00
@idf_parametrize('target', ['esp32', 'esp32s2'], indirect=['target'])
def test_sys_longjmp(dut: Dut) -> None:
2022-07-21 12:23:22 +08:00
dut.expect_exact('Test successful')