ci: enable example tests for esp32p4

This commit is contained in:
Samuel Obuch
2025-06-03 12:55:03 +02:00
parent f4db15bc60
commit c01e1a7153
6 changed files with 5 additions and 20 deletions

View File

@@ -9,9 +9,6 @@ examples/system/app_trace_basic:
temporary: true temporary: true
reason: not supported yet #TODO: OCD-1137 reason: not supported yet #TODO: OCD-1137
disable_test: disable_test:
- if: IDF_TARGET in ["esp32p4", "esp32c61"]
temporary: true
reason: lack of runners.
- if: IDF_TARGET == "esp32c61" - if: IDF_TARGET == "esp32c61"
temporary: true temporary: true
reason: lack of runners reason: lack of runners
@@ -103,9 +100,6 @@ examples/system/gcov:
temporary: true temporary: true
reason: not supported yet #TODO: OCD-1138 reason: not supported yet #TODO: OCD-1138
disable_test: disable_test:
- if: IDF_TARGET in ["esp32p4", "esp32c61"]
temporary: true
reason: lack of runners
- if: IDF_TARGET == "esp32c61" - if: IDF_TARGET == "esp32c61"
temporary: true temporary: true
reason: lack of runners reason: lack of runners
@@ -271,9 +265,6 @@ examples/system/sysview_tracing:
disable: disable:
- if: SOC_GPTIMER_SUPPORTED != 1 - if: SOC_GPTIMER_SUPPORTED != 1
disable_test: disable_test:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: lack of runners
- if: IDF_TARGET == "esp32h21" - if: IDF_TARGET == "esp32h21"
temporary: true temporary: true
reason: not supported yet #TODO: OCD-1082 reason: not supported yet #TODO: OCD-1082
@@ -288,9 +279,6 @@ examples/system/sysview_tracing_heap_log:
disable: disable:
- if: SOC_GPTIMER_SUPPORTED != 1 - if: SOC_GPTIMER_SUPPORTED != 1
disable_test: disable_test:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: lack of runners
- if: IDF_TARGET == "esp32h21" - if: IDF_TARGET == "esp32h21"
temporary: true temporary: true
reason: not supported yet #TODO: OCD-1082 reason: not supported yet #TODO: OCD-1082

View File

@@ -53,6 +53,6 @@ def test_examples_app_trace_basic(openocd_dut: 'OpenOCD', dut: IdfDut) -> None:
@pytest.mark.usb_serial_jtag @pytest.mark.usb_serial_jtag
@idf_parametrize('target', ['esp32s3', 'esp32c3', 'esp32c5', 'esp32c6', 'esp32h2'], indirect=['target']) @idf_parametrize('target', ['esp32s3', 'esp32c3', 'esp32c5', 'esp32c6', 'esp32h2', 'esp32p4'], indirect=['target'])
def test_examples_app_trace_basic_usj(openocd_dut: 'OpenOCD', dut: IdfDut) -> None: def test_examples_app_trace_basic_usj(openocd_dut: 'OpenOCD', dut: IdfDut) -> None:
_test_examples_app_trace_basic(openocd_dut, dut) _test_examples_app_trace_basic(openocd_dut, dut)

View File

@@ -79,6 +79,6 @@ def test_gcov(openocd_dut: 'OpenOCD', dut: IdfDut) -> None:
@pytest.mark.usb_serial_jtag @pytest.mark.usb_serial_jtag
@idf_parametrize('target', ['esp32s3', 'esp32c3', 'esp32c5', 'esp32c6', 'esp32h2'], indirect=['target']) @idf_parametrize('target', ['esp32s3', 'esp32c3', 'esp32c5', 'esp32c6', 'esp32h2', 'esp32p4'], indirect=['target'])
def test_gcov_usj(openocd_dut: 'OpenOCD', dut: IdfDut) -> None: def test_gcov_usj(openocd_dut: 'OpenOCD', dut: IdfDut) -> None:
_test_gcov(openocd_dut, dut) _test_gcov(openocd_dut, dut)

View File

@@ -61,6 +61,6 @@ def test_examples_sysview_tracing(openocd_dut: 'OpenOCD', dut: IdfDut) -> None:
@pytest.mark.usb_serial_jtag @pytest.mark.usb_serial_jtag
@idf_parametrize('target', ['esp32s3', 'esp32c3', 'esp32c5', 'esp32c6', 'esp32h2'], indirect=['target']) @idf_parametrize('target', ['esp32s3', 'esp32c3', 'esp32c5', 'esp32c6', 'esp32h2', 'esp32p4'], indirect=['target'])
def test_examples_sysview_tracing_usj(openocd_dut: 'OpenOCD', dut: IdfDut) -> None: def test_examples_sysview_tracing_usj(openocd_dut: 'OpenOCD', dut: IdfDut) -> None:
_test_examples_sysview_tracing(openocd_dut, dut) _test_examples_sysview_tracing(openocd_dut, dut)

View File

@@ -66,6 +66,6 @@ def test_examples_sysview_tracing_heap_log(openocd_dut: 'OpenOCD', idf_path: str
@pytest.mark.parametrize('config', ['app_trace_jtag'], indirect=True) @pytest.mark.parametrize('config', ['app_trace_jtag'], indirect=True)
@pytest.mark.usb_serial_jtag @pytest.mark.usb_serial_jtag
@idf_parametrize('target', ['esp32s3', 'esp32c3', 'esp32c5', 'esp32c6', 'esp32h2'], indirect=['target']) @idf_parametrize('target', ['esp32s3', 'esp32c3', 'esp32c5', 'esp32c6', 'esp32h2', 'esp32p4'], indirect=['target'])
def test_examples_sysview_tracing_heap_log_usj(openocd_dut: 'OpenOCD', idf_path: str, dut: IdfDut) -> None: def test_examples_sysview_tracing_heap_log_usj(openocd_dut: 'OpenOCD', idf_path: str, dut: IdfDut) -> None:
_test_examples_sysview_tracing_heap_log(openocd_dut, idf_path, dut) _test_examples_sysview_tracing_heap_log(openocd_dut, idf_path, dut)

View File

@@ -47,10 +47,7 @@ tools/test_apps/system/g1_components:
tools/test_apps/system/gdb: tools/test_apps/system/gdb:
disable_test: disable_test:
- if: IDF_TARGET == "esp32p4" - if: IDF_TARGET in ["esp32p4", "esp32c5", "esp32c61"]
temporary: true
reason: lack of runners
- if: IDF_TARGET in ["esp32c5", "esp32c61"]
temporary: true temporary: true
reason: not supported yet # TODO: IDF-13142 reason: not supported yet # TODO: IDF-13142