ci(ram_load_app): enable target tests for all targets

pull/12525/head
Xiao Xufeng 2023-07-07 01:48:54 +08:00
rodzic cc28674686
commit 24ef7f6034
4 zmienionych plików z 4 dodań i 25 usunięć

Wyświetl plik

@ -173,12 +173,6 @@ tools/test_apps/system/panic:
temporary: true
reason: target(s) not supported yet # TODO: IDF-7511
tools/test_apps/system/ram_loadable_app:
disable:
- if: IDF_TARGET == "esp32h2"
temporary: true
reason: lack of runners
tools/test_apps/system/startup:
disable:
- if: CONFIG_NAME == "main_task_cpu1" and IDF_TARGET not in ["esp32", "esp32s3"]

Wyświetl plik

@ -1,5 +1,5 @@
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
# RAM loadable app Example

Wyświetl plik

@ -5,12 +5,7 @@ import pytest
from pytest_embedded_idf.dut import IdfDut
@pytest.mark.esp32
@pytest.mark.esp32c2
@pytest.mark.esp32c3
@pytest.mark.esp32c6
@pytest.mark.esp32s2
@pytest.mark.esp32s3
@pytest.mark.supported_targets
@pytest.mark.generic
@pytest.mark.parametrize('config', ['pure_ram',], indirect=True,)
def test_pure_ram_loadable_app(dut: IdfDut) -> None:
@ -18,11 +13,7 @@ def test_pure_ram_loadable_app(dut: IdfDut) -> None:
dut.expect('Time since boot: 3 seconds...', timeout=10)
@pytest.mark.esp32c2
@pytest.mark.esp32c3
@pytest.mark.esp32c6
@pytest.mark.esp32s2
@pytest.mark.esp32s3
@pytest.mark.supported_targets
@pytest.mark.generic
@pytest.mark.parametrize('config', ['defaults',], indirect=True,)
def test_ram_loadable_app(dut: IdfDut) -> None:

Wyświetl plik

@ -1,6 +0,0 @@
CONFIG_APP_BUILD_TYPE_RAM=y
# Reset is meaningless to ram_app
CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT=y
CONFIG_APP_BUILD_TYPE_PURE_RAM_APP=y