From 1b44f1ebddc64c391cb3735cde2bfb27a8f53f34 Mon Sep 17 00:00:00 2001 From: Erhan Kurubas Date: Wed, 8 Jul 2026 09:27:03 +0200 Subject: [PATCH] ci(coredump): enable esp32h4 tests --- tools/test_apps/system/.build-test-rules.yml | 4 ++-- tools/test_apps/system/panic/coredump/README.md | 4 ++-- .../system/panic/coredump/pytest_panic_coredump.py | 7 ++----- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/tools/test_apps/system/.build-test-rules.yml b/tools/test_apps/system/.build-test-rules.yml index afbb008a186..964b88275f6 100644 --- a/tools/test_apps/system/.build-test-rules.yml +++ b/tools/test_apps/system/.build-test-rules.yml @@ -145,9 +145,9 @@ tools/test_apps/system/panic/coredump: disable: - if: CONFIG_NAME in ["coredump_flash_extram_stack_bss", "coredump_flash_extram_stack_heap"] and SOC_SPIRAM_SUPPORTED != 1 - if: CONFIG_NAME == "coredump_flash_extram_stack_bss_xip" and SOC_SPIRAM_XIP_SUPPORTED != 1 - - if: IDF_TARGET in ["esp32h4", "esp32h21"] + - if: IDF_TARGET in ["esp32h21"] temporary: true - reason: IDF-12308, IDF-11543 + reason: IDF-11543 depends_components: - espcoredump - esp_system diff --git a/tools/test_apps/system/panic/coredump/README.md b/tools/test_apps/system/panic/coredump/README.md index fa84e37d2d7..e083cb9d2ba 100644 --- a/tools/test_apps/system/panic/coredump/README.md +++ b/tools/test_apps/system/panic/coredump/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | ESP32-S31 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | -------- | --------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H4 | ESP32-P4 | ESP32-S2 | ESP32-S3 | ESP32-S31 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | -------- | -------- | --------- | # Introduction diff --git a/tools/test_apps/system/panic/coredump/pytest_panic_coredump.py b/tools/test_apps/system/panic/coredump/pytest_panic_coredump.py index b913769dbb5..0ad27b0268a 100644 --- a/tools/test_apps/system/panic/coredump/pytest_panic_coredump.py +++ b/tools/test_apps/system/panic/coredump/pytest_panic_coredump.py @@ -26,7 +26,7 @@ TARGETS_RISCV = panic_tests.TARGETS_RISCV TARGETS_RISCV_DUAL_CORE = panic_tests.TARGETS_RISCV_DUAL_CORE COREDUMP_APP = str(Path(__file__).resolve().parent) -COREDUMP_UNSUPPORTED_TARGETS = {'esp32h4'} +COREDUMP_UNSUPPORTED_TARGETS = {''} COREDUMP_TARGETS_ALL = [target for target in TARGETS_ALL if target not in COREDUMP_UNSUPPORTED_TARGETS] COREDUMP_TARGETS_DUAL_CORE = [target for target in TARGETS_DUAL_CORE if target not in COREDUMP_UNSUPPORTED_TARGETS] COREDUMP_TARGETS_RISCV = [target for target in TARGETS_RISCV if target not in COREDUMP_UNSUPPORTED_TARGETS] @@ -129,7 +129,6 @@ def get_psram_marker(target: str) -> pytest.mark: ) @pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration') @pytest.mark.temp_skip_ci(targets=['esp32c5', 'esp32c61', 'esp32p4', 'esp32s31'], reason='TODO: IDF-15623') -@pytest.mark.temp_skip_ci(targets=['esp32h4'], reason='IDF-12308') def test_panic_extram_stack_heap_psram(dut: PanicTestDut, config: str) -> None: _test_panic_extram_stack_impl(dut, config) @@ -144,7 +143,6 @@ def test_panic_extram_stack_heap_psram(dut: PanicTestDut, config: str) -> None: ) @pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration') @pytest.mark.temp_skip_ci(targets=['esp32c5', 'esp32c61', 'esp32p4', 'esp32s31'], reason='TODO: IDF-15623') -@pytest.mark.temp_skip_ci(targets=['esp32h4'], reason='IDF-12308') def test_panic_extram_stack_heap_bss(dut: PanicTestDut, config: str) -> None: _test_panic_extram_stack_impl(dut, config) @@ -159,7 +157,6 @@ def test_panic_extram_stack_heap_bss(dut: PanicTestDut, config: str) -> None: ) @pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration') @pytest.mark.temp_skip_ci(targets=['esp32c5', 'esp32c61', 'esp32p4', 'esp32s31'], reason='TODO: IDF-15623') -@pytest.mark.temp_skip_ci(targets=['esp32h4'], reason='IDF-12308') def test_panic_extram_stack_heap_bss_xip(dut: PanicTestDut, config: str) -> None: _test_panic_extram_stack_impl(dut, config) @@ -305,7 +302,7 @@ def test_capture_dram(dut: PanicTestDut, config: str, test_func_name: str) -> No buffer_value = str(dut.gdb_data_eval_expr('g_noinit_buffer')) assert 'NOINIT_TEST_STRING' in buffer_value - if dut.target not in ['esp32c61', 'esp32c2']: + if dut.target in soc_filtered_targets('SOC_RTC_MEM_SUPPORTED == 1'): assert int(dut.gdb_data_eval_expr('g_rtc_data_var')) == 0x55AA assert int(dut.gdb_data_eval_expr('g_rtc_fast_var')) == 0xAABBCCDD