瀏覽代碼

change(ci): add todo to p4 build test enable

Armando 2 年之前
父節點
當前提交
6f412393b6

+ 1 - 1
components/app_update/.build-test-rules.yml

@@ -4,4 +4,4 @@ components/app_update/test_apps:
   disable:
     - if: IDF_TARGET in ["esp32c6", "esp32h2", "esp32p4"]
       temporary: true
-      reason: target esp32c6, esp32h2, esp32p4 is not supported yet
+      reason: target esp32c6, esp32h2, esp32p4 is not supported yet # TODO: IDF-8068

+ 1 - 1
components/bootloader_support/.build-test-rules.yml

@@ -7,4 +7,4 @@ components/bootloader_support/test_apps/rtc_custom_section:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: this feature on esp32p4 isn't supported yet
+      reason: this feature on esp32p4 isn't supported yet # TODO: IDF-8069

+ 6 - 5
components/driver/.build-test-rules.yml

@@ -16,7 +16,7 @@ components/driver/test_apps/gpio_extensions:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported yet
+      reason: not supported yet # TODO: IDF-7551
 
 components/driver/test_apps/gptimer:
   disable:
@@ -24,7 +24,7 @@ components/driver/test_apps/gptimer:
 
 components/driver/test_apps/i2c_test_apps:
   disable:
-    - if: SOC_I2C_SUPPORTED != 1
+    - if: SOC_I2C_SUPPORTED != 1 # TODO: IDF-8070
 
 components/driver/test_apps/i2s_test_apps:
   disable:
@@ -59,7 +59,7 @@ components/driver/test_apps/legacy_i2c_driver:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported yet
+      reason: not supported yet  # TODO: IDF-8070
 
 components/driver/test_apps/legacy_mcpwm_driver:
   disable:
@@ -101,7 +101,7 @@ components/driver/test_apps/rs485:
   disable:
     - if: IDF_TARGET in ["esp32p4"]
       temporary: true
-      reason: target(s) is not supported yet
+      reason: target(s) is not supported yet # TODO: IDF-6511
   disable_test:
     - if: IDF_TARGET != "esp32"
       temporary: true
@@ -145,6 +145,7 @@ components/driver/test_apps/twai:
 
 components/driver/test_apps/uart:
   disable:
+    - if: SOC_UART_SUPPORTED != 1
     - if: IDF_TARGET in ["esp32p4"]
       temporary: true
-      reason: target(s) is not supported yet
+      reason: target(s) is not supported yet # TODO: IDF-6511

+ 1 - 1
components/esp_rom/.build-test-rules.yml

@@ -8,4 +8,4 @@ components/esp_rom/test_apps:
   disable:
     - if: IDF_TARGET in ["esp32p4"]
       temporary: true
-      reason: Not supported on p4
+      reason: Not supported on p4 # TODO: IDF-8071

+ 1 - 1
components/esp_system/.build-test-rules.yml

@@ -5,7 +5,7 @@ components/esp_system/test_apps/esp_system_unity_tests:
     - if: CONFIG_NAME == "psram" and SOC_SPIRAM_SUPPORTED != 1
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4 yet
+      reason: not supported on p4 yet # TODO: IDF-8072
 
 components/esp_system/test_apps/linux_apis:
   enable:

+ 1 - 1
examples/ethernet/.build-test-rules.yml

@@ -4,7 +4,7 @@ examples/ethernet/enc28j60:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: target esp32p4 is not supported yet
+      reason: target esp32p4 is not supported yet # TODO: IDF-8073
 
 examples/ethernet/iperf:
   disable_test:

+ 1 - 1
examples/get-started/.build-test-rules.yml

@@ -4,7 +4,7 @@ examples/get-started/blink:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: target esp32p4 is not supported yet
+      reason: target esp32p4 is not supported yet # TODO: IDF-8074
 
 examples/get-started/hello_world:
   enable:

+ 2 - 2
examples/peripherals/.build-test-rules.yml

@@ -127,7 +127,7 @@ examples/peripherals/mcpwm/mcpwm_foc_svpwm_open_loop:
     - if: SOC_MCPWM_SUPPORTED != 1
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4 yet
+      reason: not supported on p4 yet # TODO: IDF-8075
 
 examples/peripherals/parlio:
   disable:
@@ -214,7 +214,7 @@ examples/peripherals/spi_slave_hd/append_mode/master:
   disable:
     - if: IDF_TARGET in ["esp32c6", "esp32p4"]
       temporary: true
-      reason: target(s) not supported yet
+      reason: target(s) not supported yet # TODO: IDF-7505
 
 examples/peripherals/spi_slave_hd/append_mode/slave:
   enable:

+ 21 - 20
examples/protocols/.build-test-rules.yml

@@ -14,7 +14,8 @@ examples/protocols/esp_http_client:
 
 examples/protocols/esp_local_ctrl:
   disable:
-    - if: IDF_TARGET in ["esp32h2", "esp32p4"]
+    - if: SOC_WIFI_SUPPORTED != 1
+    - if: IDF_TARGET in ["esp32h2"]
       temporary: true
       reason: not supported on p4
   disable_test:
@@ -26,7 +27,7 @@ examples/protocols/http_request:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-8076
   disable_test:
     - if: IDF_TARGET != "esp32"
       temporary: true
@@ -36,7 +37,7 @@ examples/protocols/http_server:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-8076
   disable_test:
     - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
       temporary: true
@@ -46,7 +47,7 @@ examples/protocols/http_server/captive_portal:
   disable:
     - if: IDF_TARGET in ["esp32h2", "esp32p4"]
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-8076
   disable_test:
     - if: IDF_TARGET != "esp32"
       temporary: true
@@ -56,13 +57,13 @@ examples/protocols/http_server/restful_server:
   disable:
     - if: IDF_TARGET in ["esp32h2", "esp32p4"]
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-8076
 
 examples/protocols/http_server/ws_echo_server:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-8076
   disable_test:
     - if: IDF_TARGET != "esp32"
       temporary: true
@@ -72,7 +73,7 @@ examples/protocols/https_mbedtls:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-8076
   disable_test:
     - if: IDF_TARGET != "esp32"
       temporary: true
@@ -82,7 +83,7 @@ examples/protocols/https_request:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-8076
   disable_test:
     - if: IDF_TARGET != "esp32"
       temporary: true
@@ -92,7 +93,7 @@ examples/protocols/https_server/simple:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-8076
   disable_test:
     - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
       temporary: true
@@ -102,7 +103,7 @@ examples/protocols/https_server/wss_server:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-8076
   disable_test:
     - if: IDF_TARGET != "esp32"
       temporary: true
@@ -112,7 +113,7 @@ examples/protocols/https_x509_bundle:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-8076
   disable_test:
     - if: IDF_TARGET != "esp32"
       temporary: true
@@ -140,13 +141,13 @@ examples/protocols/modbus:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-7869
 
 examples/protocols/mqtt/ssl:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-8077
   disable_test:
     - if: IDF_TARGET != "esp32"
       temporary: true
@@ -154,7 +155,7 @@ examples/protocols/mqtt/ssl:
 
 examples/protocols/mqtt/ssl_ds:
   disable:
-    - if: SOC_DIG_SIGN_SUPPORTED != 1 or IDF_TARGET == "esp32p4"
+    - if: SOC_DIG_SIGN_SUPPORTED != 1 or IDF_TARGET == "esp32p4" # TODO: IDF-8077
       temporary: false
       reason: DS not present
 
@@ -162,19 +163,19 @@ examples/protocols/mqtt/ssl_mutual_auth:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-8077
 
 examples/protocols/mqtt/ssl_psk:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-8077
 
 examples/protocols/mqtt/tcp:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-8077
   disable_test:
     - if: IDF_TARGET != "esp32"
       temporary: true
@@ -184,7 +185,7 @@ examples/protocols/mqtt/ws:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-8077
   disable_test:
     - if: IDF_TARGET != "esp32"
       temporary: true
@@ -194,7 +195,7 @@ examples/protocols/mqtt/wss:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-8077
   disable_test:
     - if: IDF_TARGET != "esp32"
       temporary: true
@@ -204,7 +205,7 @@ examples/protocols/mqtt5:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-8077
   disable_test:
     - if: IDF_TARGET != "esp32"
       temporary: true

+ 4 - 4
examples/system/.build-test-rules.yml

@@ -10,7 +10,7 @@ examples/system/console/advanced:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-8078
   disable_test:
     - if: IDF_TARGET not in ["esp32", "esp32c3"]
       reason: Sufficient to run this app on one chip with each architecture
@@ -23,7 +23,7 @@ examples/system/console/basic:
   disable:
     - if: IDF_TARGET == "esp32p4"
       temporary: true
-      reason: not supported on p4
+      reason: not supported on p4 # TODO: IDF-8078
   disable_test:
     - if: IDF_TARGET not in ["esp32", "esp32c3"]
       reason: Sufficient to run this app on one chip with each architecture
@@ -32,7 +32,7 @@ examples/system/deep_sleep:
   disable:
     - if: IDF_TARGET in ["esp32p4"]
       temporary: true
-      reason: target(s) is not supported yet
+      reason: target(s) is not supported yet # TODO: IDF-7529
 
 examples/system/deep_sleep_wake_stub:
   disable:
@@ -44,7 +44,7 @@ examples/system/esp_timer:
   disable:
     - if: IDF_TARGET in ["esp32c6", "esp32h2", "esp32p4"]
       temporary: true
-      reason: target(s) is not supported yet
+      reason: target(s) is not supported yet # TODO: IDF-7529
 
 examples/system/eventfd:
   disable:

+ 1 - 0
tools/ci/idf_pytest/constants.py

@@ -23,6 +23,7 @@ TARGET_MARKERS = {
     'esp32c2': 'support esp32c2 target',
     'esp32c6': 'support esp32c6 target',
     'esp32h2': 'support esp32h2 target',
+    'esp32p4': 'support esp32p4 target',
     'linux': 'support linux target',
 }