Merge branch 'ci/fix_non_running_core_tests' into 'master'

ci: restore runnable pytest configs

See merge request espressif/esp-idf!46536
This commit is contained in:
Marius Vikhammer
2026-03-16 15:32:32 +08:00
8 changed files with 40 additions and 1 deletions
@@ -10,6 +10,7 @@ from pytest_embedded_idf.utils import idf_parametrize
'config,target',
[
('default', 'supported_targets'),
('newlib', 'supported_targets'),
('options', 'supported_targets'),
('single_core_esp32', 'esp32'),
('psram_esp32', 'esp32'),
@@ -663,6 +663,17 @@ def test_examples_efuse_with_virt_secure_boot_v2_esp32xx(dut: Dut) -> None:
example_efuse_with_virt_secure_boot_v2_esp32xx(dut)
@pytest.mark.generic
@pytest.mark.parametrize('skip_autoflash', ['y'], indirect=True)
@idf_parametrize(
'config, target',
[('virt_secure_boot_v2_ecdsa_p384', 'esp32c5')],
indirect=['config', 'target'],
)
def test_examples_efuse_with_virt_secure_boot_v2_ecdsa_p384_esp32xx(dut: Dut) -> None:
example_efuse_with_virt_secure_boot_v2_esp32xx(dut)
@pytest.mark.generic
@pytest.mark.parametrize('config', ['virt_secure_boot_v2'], indirect=True)
@pytest.mark.parametrize('skip_autoflash', ['y'], indirect=True)
@@ -1093,3 +1104,14 @@ def example_efuse_with_virt_sb_v2_and_fe(dut: Dut) -> None:
)
def test_examples_efuse_with_virt_sb_v2_and_fe_esp32xx(dut: Dut) -> None:
example_efuse_with_virt_sb_v2_and_fe(dut)
@pytest.mark.generic
@pytest.mark.parametrize('skip_autoflash', ['y'], indirect=True)
@idf_parametrize(
'config, target',
[('virt_sb_v2_ecdsa_p384_and_fe', 'esp32c5')],
indirect=['config', 'target'],
)
def test_examples_efuse_with_virt_sb_v2_ecdsa_p384_and_fe_esp32xx(dut: Dut) -> None:
example_efuse_with_virt_sb_v2_and_fe(dut)
@@ -2,7 +2,7 @@
CONFIG_IDF_TARGET="esp32c5"
CONFIG_PARTITION_TABLE_OFFSET=0xD000
CONFIG_PARTITION_TABLE_OFFSET=0xE000
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="test/partitions_efuse_emul.csv"
@@ -6,6 +6,7 @@ from pytest_embedded_idf.utils import idf_parametrize
@pytest.mark.generic
@idf_parametrize('config', ['app_in_flash'], indirect=['config'])
@idf_parametrize('target', ['esp32p4'], indirect=['target'])
def test_ld_non_contiguous_memory(dut: Dut) -> None:
dut.expect_exact('buf2 placed in low sram')
@@ -0,0 +1,2 @@
# Default app-in-flash configuration for CI discovery.
CONFIG_ESP32P4_SELECTS_REV_LESS_V3=y
@@ -0,0 +1,12 @@
CONFIG_IDF_TARGET="esp32"
CONFIG_ESP_COREDUMP_ENABLE_TO_FLASH=y
# We need to have the coredump info log
CONFIG_LOG_DEFAULT_LEVEL_INFO=y
CONFIG_SPIRAM=y
CONFIG_FREERTOS_TASK_CREATE_ALLOW_EXT_MEM=y
CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY=y
CONFIG_SPIRAM_ALLOW_NOINIT_SEG_EXTERNAL_MEMORY=y
CONFIG_ESP_COREDUMP_USE_STACK_SIZE=y
CONFIG_ESP_COREDUMP_CAPTURE_DRAM=y
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions_capture_dram.csv"
@@ -0,0 +1 @@
CONFIG_ESP_SYSTEM_USE_FRAME_POINTER=y