mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'staging/enabling_panic_test_esp32c61' into 'master'
test(panic): enable tests for esp32c61 Closes IDF-10994 See merge request espressif/esp-idf!33277
This commit is contained in:
commit
bc0b04d779
@ -74,11 +74,7 @@ tools/test_apps/system/no_embedded_paths:
|
||||
|
||||
tools/test_apps/system/panic:
|
||||
enable:
|
||||
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET in ["esp32p4"] # preview targets
|
||||
disable:
|
||||
- if: IDF_TARGET == "esp32c61"
|
||||
temporary: true
|
||||
reason: not supported # TODO: [ESP32c61] IDF-9268
|
||||
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET in ["esp32p4", "esp32c61"] # preview targets
|
||||
|
||||
tools/test_apps/system/ram_loadable_app:
|
||||
disable:
|
||||
|
@ -1,5 +1,5 @@
|
||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | -------- |
|
||||
|
||||
# Introduction
|
||||
|
||||
|
@ -53,8 +53,9 @@ CONFIGS = [
|
||||
pytest.param('coredump_uart_bin_crc', marks=TARGETS_ALL),
|
||||
pytest.param('coredump_uart_elf_crc', marks=TARGETS_ALL),
|
||||
pytest.param('coredump_flash_custom_stack', marks=TARGETS_RISCV),
|
||||
pytest.param('gdbstub', marks=TARGETS_ALL),
|
||||
pytest.param('panic', marks=TARGETS_ALL),
|
||||
# TODO: Move esp32c61 to TARGETS_RISCV once Core Dump is supported (IDF-9268)
|
||||
pytest.param('gdbstub', marks=TARGETS_ALL + [pytest.mark.esp32c61]),
|
||||
pytest.param('panic', marks=TARGETS_ALL + [pytest.mark.esp32c61]),
|
||||
]
|
||||
|
||||
CONFIGS_DUAL_CORE = [
|
||||
@ -83,6 +84,7 @@ CONFIGS_HW_STACK_GUARD = [
|
||||
pytest.param('coredump_flash_bin_crc', marks=TARGETS_RISCV),
|
||||
pytest.param('coredump_uart_bin_crc', marks=TARGETS_RISCV),
|
||||
pytest.param('coredump_uart_elf_crc', marks=TARGETS_RISCV),
|
||||
# TODO: Add stack guard support to the ESP32-C61: IDF-9269
|
||||
pytest.param('gdbstub', marks=TARGETS_RISCV),
|
||||
pytest.param('panic', marks=TARGETS_RISCV),
|
||||
]
|
||||
@ -585,7 +587,6 @@ def cache_error_log_check(dut: PanicTestDut) -> None:
|
||||
|
||||
@pytest.mark.generic
|
||||
@pytest.mark.supported_targets
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32c61'], reason='support TBD') # TODO [ESP32C61] IDF-9268 IDF-10994
|
||||
@pytest.mark.parametrize('config', ['panic'], indirect=True)
|
||||
def test_assert_cache_write_back_error_can_print_backtrace(
|
||||
dut: PanicTestDut, config: str, test_func_name: str
|
||||
@ -596,7 +597,6 @@ def test_assert_cache_write_back_error_can_print_backtrace(
|
||||
|
||||
@pytest.mark.generic
|
||||
@pytest.mark.supported_targets
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32c61'], reason='support TBD') # TODO [ESP32C61] IDF-9268 IDF-10994
|
||||
@pytest.mark.parametrize('config', ['panic'], indirect=True)
|
||||
def test_assert_cache_write_back_error_can_print_backtrace2(
|
||||
dut: PanicTestDut, config: str, test_func_name: str
|
||||
|
@ -0,0 +1,8 @@
|
||||
# Restricting to ESP32C61
|
||||
CONFIG_IDF_TARGET="esp32c61"
|
||||
|
||||
# Enabling memory protection
|
||||
CONFIG_ESP_SYSTEM_PMP_IDRAM_SPLIT=y
|
||||
|
||||
# Enable memprot test
|
||||
CONFIG_TEST_MEMPROT=y
|
Loading…
Reference in New Issue
Block a user