mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
newlib: move test to pytest
This commit is contained in:
22
components/newlib/test_apps/newlib/pytest_newlib.py
Normal file
22
components/newlib/test_apps/newlib/pytest_newlib.py
Normal file
@@ -0,0 +1,22 @@
|
||||
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
import pytest
|
||||
from pytest_embedded import Dut
|
||||
|
||||
|
||||
@pytest.mark.generic
|
||||
@pytest.mark.parametrize(
|
||||
'config',
|
||||
[
|
||||
pytest.param('default', marks=[pytest.mark.supported_targets]),
|
||||
pytest.param('single_core_esp32', marks=[pytest.mark.esp32]),
|
||||
pytest.param('single_core_esp32s2', marks=[pytest.mark.esp32s2]),
|
||||
pytest.param('psram_esp32', marks=[pytest.mark.esp32]),
|
||||
pytest.param('release_esp32', marks=[pytest.mark.esp32]),
|
||||
pytest.param('release_esp32c2', marks=[pytest.mark.esp32c2]),
|
||||
],
|
||||
indirect=True
|
||||
)
|
||||
def test_newlib(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases()
|
Reference in New Issue
Block a user