mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
Merge branch 'enable_esp32h4_coredump_tests_v6.1' into 'release/v6.1'
ci(coredump): enable esp32h4 tests (v6.1) See merge request espressif/esp-idf!50724
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user