2022-01-19 12:12:15 +08:00
|
|
|
# SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
|
|
|
import pytest
|
|
|
|
from pytest_embedded import Dut
|
|
|
|
|
|
|
|
|
|
|
|
@pytest.mark.supported_targets
|
|
|
|
@pytest.mark.generic
|
|
|
|
@pytest.mark.parametrize('config', [
|
|
|
|
'iram_safe',
|
|
|
|
'release',
|
|
|
|
], indirect=True)
|
|
|
|
def test_gptimer(dut: Dut) -> None:
|
2022-01-17 14:42:09 +08:00
|
|
|
dut.expect_exact('Press ENTER to see the list of tests')
|
2022-01-19 12:12:15 +08:00
|
|
|
dut.write('*')
|
|
|
|
dut.expect_unity_test_output()
|