From 6b31235f3f59347734462b4ae2f799f45eecba40 Mon Sep 17 00:00:00 2001 From: Alexey Lapshin Date: Mon, 27 Mar 2023 19:28:24 +0800 Subject: [PATCH] tests: panic: add esp32c6 esp32h2 --- tools/test_apps/system/panic/pytest_panic.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tools/test_apps/system/panic/pytest_panic.py b/tools/test_apps/system/panic/pytest_panic.py index e94db23c74..9132e77943 100644 --- a/tools/test_apps/system/panic/pytest_panic.py +++ b/tools/test_apps/system/panic/pytest_panic.py @@ -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']: