ci(pytest): support special markers "supported_targets", "preview_targets", "all_targets"

This commit is contained in:
Fu Hanxi
2021-12-03 15:39:18 +08:00
parent d0cdfdc5d8
commit ea4673a3a2
4 changed files with 26 additions and 30 deletions

View File

@@ -5,10 +5,7 @@ import pytest
from pytest_embedded.dut import Dut
@pytest.mark.esp32
@pytest.mark.esp32s2
@pytest.mark.esp32s3
@pytest.mark.esp32c3
@pytest.mark.supported_targets
@pytest.mark.generic
def test_timer_group_example(dut: Dut) -> None:
dut.expect(r'Init timer with auto-reload', timeout=5)