mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
CI: migrated system example tests to pytest-embedded framework
This commit is contained in:
17
examples/system/perfmon/pytest_perfmon.py
Normal file
17
examples/system/perfmon/pytest_perfmon.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
import pytest
|
||||
from pytest_embedded import Dut
|
||||
|
||||
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.esp32s2
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.generic
|
||||
def test_perfmon(dut: Dut) -> None:
|
||||
|
||||
dut.expect('example: Start')
|
||||
dut.expect('example: Start test with printing all available statistic')
|
||||
dut.expect('example: Start test with user defined statistic')
|
||||
dut.expect('example: The End')
|
Reference in New Issue
Block a user