mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
Update tests for assert and abort
- Place panic_abort in IRAM - Added abort, assert test case in case of cache disabled - Expect assert instead of abort in a freertos_mutex test
This commit is contained in:
@@ -267,6 +267,11 @@ def test_panic_abort(env, _extra_data):
|
||||
test.abort_inner(env, 'panic')
|
||||
|
||||
|
||||
@panic_test(target=['ESP32'])
|
||||
def test_panic_abort_cache_disabled(env, _extra_data):
|
||||
test.abort_cached_disabled_inner(env, 'panic')
|
||||
|
||||
|
||||
@panic_test()
|
||||
def test_coredump_abort_uart_elf_crc(env, _extra_data):
|
||||
test.abort_inner(env, 'coredump_uart_elf_crc')
|
||||
@@ -292,6 +297,18 @@ def test_gdbstub_abort(env, _extra_data):
|
||||
test.abort_inner(env, 'gdbstub')
|
||||
|
||||
|
||||
# test_assert
|
||||
|
||||
@panic_test(target=['ESP32', 'ESP32S2'])
|
||||
def test_panic_assert(env, _extra_data):
|
||||
test.assert_inner(env, 'panic')
|
||||
|
||||
|
||||
@panic_test(target=['ESP32'])
|
||||
def test_panic_assert_cache_disabled(env, _extra_data):
|
||||
test.assert_cached_disabled_inner(env, 'panic')
|
||||
|
||||
|
||||
# test_ub
|
||||
|
||||
@panic_test()
|
||||
|
Reference in New Issue
Block a user