Merge branch 'feature/esp32c6_esp32h2_enable_panic_tests_v5.1' into 'release/v5.1'

tests: panic: esp32c6/esp32h2 enable (v5.1)

See merge request espressif/esp-idf!23683
pull/11519/head
Roland Dobai 2023-05-11 00:27:22 +08:00
commit ae4d1c1f81
1 zmienionych plików z 10 dodań i 2 usunięć

Wyświetl plik

@ -9,7 +9,15 @@ import pytest
from test_panic_util import PanicTestDut
# Markers for all the targets this test currently runs on
TARGETS_TESTED = [pytest.mark.esp32, pytest.mark.esp32s2, pytest.mark.esp32c3, pytest.mark.esp32s3, pytest.mark.esp32c2]
TARGETS_TESTED = [
pytest.mark.esp32,
pytest.mark.esp32s2,
pytest.mark.esp32c3,
pytest.mark.esp32s3,
pytest.mark.esp32c2,
pytest.mark.esp32c6,
pytest.mark.esp32h2
]
# Most tests run on all targets and with all configs.
# This list is passed to @pytest.mark.parametrize for each of the test cases.
@ -225,7 +233,7 @@ def test_int_wdt_cache_disabled(
@pytest.mark.generic
def test_cache_error(dut: PanicTestDut, config: str, test_func_name: str) -> None:
dut.run_test_func(test_func_name)
if dut.target in ['esp32c3', 'esp32c2']:
if dut.target in ['esp32c3', 'esp32c2', 'esp32c6', 'esp32h2']:
# Cache error interrupt is not raised, IDF-6398
dut.expect_gme('Illegal instruction')
elif dut.target in ['esp32s2']: