Kaynağa Gözat

ci: resume esp_flash unit tests

Michael (XIAO Xufeng) 5 yıl önce
ebeveyn
işleme
818a2f8768

+ 5 - 1
components/spi_flash/test/CMakeLists.txt

@@ -1,4 +1,8 @@
+if(CONFIG_SPI_FLASH_USE_LEGACY_IMPL)
+    set(exclude_srcs "test_esp_flash.c" "test_partition_ext.c")
+endif()
+
 idf_component_register(SRC_DIRS "."
 idf_component_register(SRC_DIRS "."
                     INCLUDE_DIRS "."
                     INCLUDE_DIRS "."
-                    EXCLUDE_SRCS "test_esp_flash.c" "test_partition_ext.c"
+                    EXCLUDE_SRCS "${exclude_srcs}"
                     REQUIRES unity test_utils spi_flash bootloader_support app_update)
                     REQUIRES unity test_utils spi_flash bootloader_support app_update)

+ 7 - 1
tools/ci/config/target-test.yml

@@ -233,7 +233,7 @@ UT_001:
 
 
 UT_002:
 UT_002:
   extends: .unit_test_template
   extends: .unit_test_template
-  parallel: 9
+  parallel: 10
   tags:
   tags:
     - ESP32_IDF
     - ESP32_IDF
     - UT_T1_1
     - UT_T1_1
@@ -370,6 +370,12 @@ UT_033:
     - UT_T2_Ethernet
     - UT_T2_Ethernet
     - psram
     - psram
 
 
+UT_034:
+  extends: .unit_test_template
+  tags:
+    - ESP32_IDF
+    - UT_T1_ESP_FLASH
+
 UT_035:
 UT_035:
   extends: .unit_test_template
   extends: .unit_test_template
   tags:
   tags: