kopia lustrzana https://github.com/espressif/esp-idf
ci: partially enable pytest for esp32c2
rodzic
6a8aed12ee
commit
4e231f9dac
|
@ -12,6 +12,9 @@ def deepsleep_test(dut: Dut, case_name: str) -> None:
|
|||
if dut.target == 'esp32c3':
|
||||
# Known issue: IDF-5003
|
||||
dut.expect(r'rst:.*\(%s\)' % reset_reason, timeout=40)
|
||||
elif dut.target == 'esp32c2':
|
||||
# Known issue: IDF-5003
|
||||
dut.expect(r'rst:.*\(%s\)' % reset_reason, timeout=60)
|
||||
else:
|
||||
dut.expect(r'rst:.*\(%s\)' % reset_reason, timeout=10)
|
||||
|
||||
|
|
|
@ -5,7 +5,11 @@ import pytest
|
|||
from pytest_embedded import Dut
|
||||
|
||||
|
||||
@pytest.mark.supported_targets
|
||||
# IDF-5046
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.esp32s2
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.esp32c3
|
||||
@pytest.mark.generic
|
||||
def test_base_mac_address(dut: Dut) -> None:
|
||||
dut.expect_exact('BASE_MAC: Base MAC Address read from EFUSE BLK0')
|
||||
|
|
|
@ -12,7 +12,11 @@ TASK_ITERATION_POSTING = 'posting TASK_EVENTS:TASK_ITERATION_EVENT to {}, iterat
|
|||
TASK_ITERATION_HANDLING = 'handling TASK_EVENTS:TASK_ITERATION_EVENT from {}, iteration {}'
|
||||
|
||||
|
||||
@pytest.mark.supported_targets
|
||||
# IDF-5051
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.esp32s2
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.esp32c3
|
||||
@pytest.mark.generic
|
||||
def test_esp_event_user_event_loops(dut: Dut) -> None:
|
||||
|
||||
|
|
|
@ -28,7 +28,11 @@ LIGHT_SLEEP_TIME = 500000
|
|||
ONE_SHOT_TIMER_PERIOD = 5000000
|
||||
|
||||
|
||||
@pytest.mark.supported_targets
|
||||
# IDF-5052
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.esp32s2
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.esp32c3
|
||||
@pytest.mark.generic
|
||||
@pytest.mark.parametrize(
|
||||
'config',
|
||||
|
|
|
@ -8,7 +8,11 @@ import pytest
|
|||
from pytest_embedded import Dut
|
||||
|
||||
|
||||
@pytest.mark.supported_targets
|
||||
# IDF-5051
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.esp32s2
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.esp32c3
|
||||
@pytest.mark.generic
|
||||
def test_eventfd(dut: Dut) -> None:
|
||||
|
||||
|
|
|
@ -5,7 +5,11 @@ import pytest
|
|||
from pytest_embedded import Dut
|
||||
|
||||
|
||||
@pytest.mark.supported_targets
|
||||
# IDF-5051
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.esp32s2
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.esp32c3
|
||||
@pytest.mark.generic
|
||||
def test_freertos_real_time_stats(dut: Dut) -> None:
|
||||
|
||||
|
|
|
@ -8,7 +8,11 @@ import pytest
|
|||
from pytest_embedded import Dut
|
||||
|
||||
|
||||
@pytest.mark.supported_targets
|
||||
# IDF-5053
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.esp32s2
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.esp32c3
|
||||
@pytest.mark.generic
|
||||
def test_light_sleep(dut: Dut) -> None:
|
||||
|
||||
|
|
|
@ -5,7 +5,11 @@ import pytest
|
|||
from pytest_embedded import Dut
|
||||
|
||||
|
||||
@pytest.mark.supported_targets
|
||||
# IDF-5054
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.esp32s2
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.esp32c3
|
||||
@pytest.mark.generic
|
||||
def test_pthread(dut: Dut) -> None:
|
||||
|
||||
|
|
|
@ -5,7 +5,11 @@ import pytest
|
|||
from pytest_embedded import Dut
|
||||
|
||||
|
||||
@pytest.mark.supported_targets
|
||||
# IDF-5055
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.esp32s2
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.esp32c3
|
||||
@pytest.mark.generic
|
||||
def test_task_watchdog(dut: Dut) -> None:
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
| Supported Targets | ESP32 | ESP32-S2 | ESP32-S3 | ESP32-C3 | ESP32-C2 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-S2 | ESP32-S3 | ESP32-C3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- |
|
||||
|
|
|
@ -5,7 +5,11 @@ import pytest
|
|||
from pytest_embedded_idf.dut import IdfDut
|
||||
|
||||
|
||||
@pytest.mark.supported_targets
|
||||
# IDF-5046
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.esp32s2
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.esp32c3
|
||||
@pytest.mark.generic
|
||||
@pytest.mark.parametrize('config', [
|
||||
'phy_multiple_init_data',
|
||||
|
|
Ładowanie…
Reference in New Issue