Просмотр исходного кода

ci(ram_load_app): enable target tests for all targets

Xiao Xufeng 2 лет назад
Родитель
Сommit
24ef7f6034

+ 0 - 6
tools/test_apps/.build-test-rules.yml

@@ -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"]

+ 2 - 2
tools/test_apps/system/ram_loadable_app/README.md

@@ -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
 

+ 2 - 11
tools/test_apps/system/ram_loadable_app/pytest_ram_loadable_app.py

@@ -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:

+ 0 - 6
tools/test_apps/system/ram_loadable_app/sdkconfig.defaults.esp32

@@ -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