From 6ee2fd716c24a3173d21a3c0d9e0f68e9faa0b24 Mon Sep 17 00:00:00 2001 From: Erhan Kurubas Date: Thu, 25 Jun 2026 01:27:24 +0200 Subject: [PATCH] test(espcoredump): run test_tcb_corrupted with custom stack --- .../test_apps/system/panic/coredump/pytest_panic_coredump.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 615f7280fb9..5fa49d7e514 100644 --- a/tools/test_apps/system/panic/coredump/pytest_panic_coredump.py +++ b/tools/test_apps/system/panic/coredump/pytest_panic_coredump.py @@ -61,7 +61,10 @@ CONFIG_COREDUMP_SUMMARY_FLASH_ENCRYPTED = panic_tests.configs_for_app( COREDUMP_APP, ['coredump_flash_encrypted', 'coredump_flash_encrypted_coredump_plain'] ) CONFIG_GDBSTUB_COREDUMP = panic_tests.configs_for_app(COREDUMP_APP, ['gdbstub_coredump']) -CONFIG_TCB_CORRUPTED = panic_tests.configs_for_app(COREDUMP_APP, ['coredump_flash_default']) +# Uses the dedicated coredump stack (CONFIG_ESP_COREDUMP_STACK_SIZE) on purpose: this test +# faults in idle-task context, whose small stack overflows the FreeRTOS end-of-stack watchpoint +# if the coredump runs in place, causing a double panic. Do not switch back to coredump_flash_default. +CONFIG_TCB_CORRUPTED = panic_tests.configs_for_app(COREDUMP_APP, ['coredump_flash_custom_stack']) @pytest.mark.generic