Преглед изворни кода

ci: cleanup, combine and remove old ttfw unit test app configs

Marius Vikhammer пре 2 година
родитељ
комит
6fae679124
35 измењених фајлова са 34 додато и 90 уклоњено
  1. 0 7
      tools/unit-test-app/configs/default_2_c2
  2. 0 3
      tools/unit-test-app/configs/default_2_c6
  3. 0 3
      tools/unit-test-app/configs/default_2_h2
  4. 0 3
      tools/unit-test-app/configs/default_2_s2
  5. 0 3
      tools/unit-test-app/configs/default_2_s3
  6. 0 3
      tools/unit-test-app/configs/default_32_2
  7. 0 3
      tools/unit-test-app/configs/default_3_c2
  8. 0 3
      tools/unit-test-app/configs/default_3_c3
  9. 0 3
      tools/unit-test-app/configs/default_3_c6
  10. 0 3
      tools/unit-test-app/configs/default_3_h2
  11. 6 1
      tools/unit-test-app/configs/default_c2
  12. 2 1
      tools/unit-test-app/configs/default_c3
  13. 2 1
      tools/unit-test-app/configs/default_c6
  14. 2 1
      tools/unit-test-app/configs/default_esp32
  15. 2 1
      tools/unit-test-app/configs/default_h2
  16. 3 2
      tools/unit-test-app/configs/default_s2
  17. 0 3
      tools/unit-test-app/configs/default_s2_2
  18. 2 1
      tools/unit-test-app/configs/default_s3
  19. 1 1
      tools/unit-test-app/configs/no_optimization_c6
  20. 1 1
      tools/unit-test-app/configs/no_optimization_h2
  21. 1 1
      tools/unit-test-app/configs/psram
  22. 1 1
      tools/unit-test-app/configs/psram_2
  23. 0 6
      tools/unit-test-app/configs/psram_3
  24. 1 1
      tools/unit-test-app/configs/release
  25. 0 6
      tools/unit-test-app/configs/release_2
  26. 0 6
      tools/unit-test-app/configs/release_2_s2
  27. 5 1
      tools/unit-test-app/configs/release_c2
  28. 0 5
      tools/unit-test-app/configs/release_c3_2
  29. 1 1
      tools/unit-test-app/configs/release_c6
  30. 1 1
      tools/unit-test-app/configs/release_h2
  31. 1 1
      tools/unit-test-app/configs/release_s2
  32. 1 1
      tools/unit-test-app/configs/release_s3
  33. 1 2
      tools/unit-test-app/configs/single_core
  34. 0 5
      tools/unit-test-app/configs/single_core_2
  35. 0 5
      tools/unit-test-app/configs/single_core_2_s2

+ 0 - 7
tools/unit-test-app/configs/default_2_c2

@@ -1,7 +0,0 @@
-# This config is split between targets since different component needs to be included
-CONFIG_IDF_TARGET="esp32c2"
-TEST_COMPONENTS=app_trace esp_eth esp_hid esp_phy esp_wifi espcoredump hal lwip mdns newlib partition_table sdmmc
-CONFIG_NEWLIB_TIME_SYSCALL_USE_NONE=n
-CONFIG_NEWLIB_TIME_SYSCALL_USE_HRT=y
-CONFIG_NEWLIB_TIME_SYSCALL_USE_RTC=n
-CONFIG_NEWLIB_TIME_SYSCALL_USE_RTC_HRT=n

+ 0 - 3
tools/unit-test-app/configs/default_2_c6

@@ -1,3 +0,0 @@
-# This config is split between targets since different component needs to be included
-CONFIG_IDF_TARGET="esp32c6"
-TEST_COMPONENTS=app_trace esp_eth esp_hid esp_phy esp_wifi espcoredump hal lwip mdns newlib partition_table sdmmc

+ 0 - 3
tools/unit-test-app/configs/default_2_h2

@@ -1,3 +0,0 @@
-# This config is split between targets since different component needs to be included
-CONFIG_IDF_TARGET="esp32h2"
-TEST_COMPONENTS=app_trace esp_eth esp_hid esp_netif esp_phy esp_wifi espcoredump hal lwip mdns newlib partition_table sdmmc

+ 0 - 3
tools/unit-test-app/configs/default_2_s2

@@ -1,3 +0,0 @@
-# This config is split between targets since different component needs to be excluded (esp32, esp32s2)
-CONFIG_IDF_TARGET="esp32s2"
-TEST_EXCLUDE_COMPONENTS=bt driver soc spi_flash

+ 0 - 3
tools/unit-test-app/configs/default_2_s3

@@ -1,3 +0,0 @@
-# This config is split between targets since different component needs to be excluded (esp32, esp32s2)
-CONFIG_IDF_TARGET="esp32s3"
-TEST_EXCLUDE_COMPONENTS=bt esp32s3 driver soc spi_flash test_utils

+ 0 - 3
tools/unit-test-app/configs/default_32_2

@@ -1,3 +0,0 @@
-# continue from default
-CONFIG_IDF_TARGET="esp32"
-TEST_COMPONENTS=spi_flash

+ 0 - 3
tools/unit-test-app/configs/default_3_c2

@@ -1,3 +0,0 @@
-# This config is split between targets since different component needs to be included
-CONFIG_IDF_TARGET="esp32c2"
-TEST_EXCLUDE_COMPONENTS=app_trace esp_eth esp_hid esp_netif esp_phy esp_ringbuf esp_wifi espcoredump hal lwip mdns newlib partition_table sdmmc driver soc spi_flash

+ 0 - 3
tools/unit-test-app/configs/default_3_c3

@@ -1,3 +0,0 @@
-# This config is split between targets since different component needs to be included
-CONFIG_IDF_TARGET="esp32c3"
-TEST_COMPONENTS=spi_flash lwip

+ 0 - 3
tools/unit-test-app/configs/default_3_c6

@@ -1,3 +0,0 @@
-# This config is split between targets since different component needs to be included
-CONFIG_IDF_TARGET="esp32c6"
-TEST_EXCLUDE_COMPONENTS=app_trace esp_eth esp_hid esp_netif esp_phy esp_ringbuf esp_wifi espcoredump hal lwip mdns newlib partition_table sdmmc driver soc spi_flash

+ 0 - 3
tools/unit-test-app/configs/default_3_h2

@@ -1,3 +0,0 @@
-# This config is split between targets since different component needs to be included
-CONFIG_IDF_TARGET="esp32h2"
-TEST_EXCLUDE_COMPONENTS=app_trace esp_eth esp_hid esp_netif esp_phy esp_ringbuf esp_wifi espcoredump hal lwip mdns newlib partition_table sdmmc driver soc spi_flash

+ 6 - 1
tools/unit-test-app/configs/default_c2

@@ -1,3 +1,8 @@
 # This config is split between targets since different component needs to be included
 CONFIG_IDF_TARGET="esp32c2"
-TEST_COMPONENTS= soc spi_flash
+# spi_flash is tested in other configs
+TEST_EXCLUDE_COMPONENTS=spi_flash
+CONFIG_NEWLIB_TIME_SYSCALL_USE_NONE=n
+CONFIG_NEWLIB_TIME_SYSCALL_USE_HRT=y
+CONFIG_NEWLIB_TIME_SYSCALL_USE_RTC=n
+CONFIG_NEWLIB_TIME_SYSCALL_USE_RTC_HRT=n

+ 2 - 1
tools/unit-test-app/configs/default_2_c3 → tools/unit-test-app/configs/default_c3

@@ -1,3 +1,4 @@
 # This config is split between targets since different component needs to be excluded
 CONFIG_IDF_TARGET="esp32c3"
-TEST_EXCLUDE_COMPONENTS=bt driver soc spi_flash lwip spiffs perfmon test_utils
+# spi_flash is tested in other configs
+TEST_EXCLUDE_COMPONENTS=spi_flash

+ 2 - 1
tools/unit-test-app/configs/default_c6

@@ -1,3 +1,4 @@
 # This config is split between targets since different component needs to be included
 CONFIG_IDF_TARGET="esp32c6"
-TEST_COMPONENTS=spi_flash
+# spi_flash is tested in other configs
+TEST_EXCLUDE_COMPONENTS=spi_flash

+ 2 - 1
tools/unit-test-app/configs/default_2 → tools/unit-test-app/configs/default_esp32

@@ -1,3 +1,4 @@
 # This config is split between targets since different component needs to be excluded (esp32, esp32s2)
 CONFIG_IDF_TARGET="esp32"
-TEST_EXCLUDE_COMPONENTS=bt driver soc spi_flash test_utils
+# spi_flash are tested in other configs
+TEST_EXCLUDE_COMPONENTS=spi_flash test_utils

+ 2 - 1
tools/unit-test-app/configs/default_h2

@@ -1,3 +1,4 @@
 # This config is split between targets since different component needs to be included
 CONFIG_IDF_TARGET="esp32h2"
-TEST_COMPONENTS=spi_flash
+# spi_flash is tested in other configs
+TEST_EXCLUDE_COMPONENTS=spi_flash

+ 3 - 2
tools/unit-test-app/configs/single_core_s2 → tools/unit-test-app/configs/default_s2

@@ -1,4 +1,5 @@
-# This config is split between targets since different component needs to be included (esp32, esp32s2)
+# This config is split between targets since different component needs to be included
 CONFIG_IDF_TARGET="esp32s2"
-TEST_COMPONENTS=spi_flash test_utils
+# spi_flash is tested in other configs
+TEST_EXCLUDE_COMPONENTS=spi_flash
 CONFIG_ESP32S2_RTCDATA_IN_FAST_MEM=y

+ 0 - 3
tools/unit-test-app/configs/default_s2_2

@@ -1,3 +0,0 @@
-# This config is split between targets since different component needs to be included (esp32, esp32s2)
-CONFIG_IDF_TARGET="esp32s2"
-TEST_COMPONENTS=spi_flash

+ 2 - 1
tools/unit-test-app/configs/default_s3

@@ -1,3 +1,4 @@
 # This config is split between targets since different component needs to be included
 CONFIG_IDF_TARGET="esp32s3"
-TEST_COMPONENTS=spi_flash
+# spi_flash is tested in other configs
+TEST_EXCLUDE_COMPONENTS=spi_flash test_utils

+ 1 - 1
tools/unit-test-app/configs/no_optimization_c6

@@ -1,3 +1,3 @@
 CONFIG_IDF_TARGET="esp32c6"
-TEST_COMPONENTS=esp_ipc spi_flash
+TEST_COMPONENTS=spi_flash
 CONFIG_COMPILER_OPTIMIZATION_NONE=y

+ 1 - 1
tools/unit-test-app/configs/no_optimization_h2

@@ -1,3 +1,3 @@
 CONFIG_IDF_TARGET="esp32h2"
-TEST_COMPONENTS=esp_ipc spi_flash
+TEST_COMPONENTS=spi_flash
 CONFIG_COMPILER_OPTIMIZATION_NONE=y

+ 1 - 1
tools/unit-test-app/configs/psram

@@ -1,5 +1,5 @@
 CONFIG_IDF_TARGET="esp32"
-TEST_EXCLUDE_COMPONENTS=bt driver spi_flash test_utils soc esp-tls sdmmc
+TEST_EXCLUDE_COMPONENTS=bt driver spi_flash test_utils esp-tls
 CONFIG_SPIRAM=y
 CONFIG_ESP_INT_WDT_TIMEOUT_MS=800
 CONFIG_SPIRAM_OCCUPY_NO_HOST=y

+ 1 - 1
tools/unit-test-app/configs/psram_2

@@ -1,5 +1,5 @@
 CONFIG_IDF_TARGET="esp32"
-TEST_COMPONENTS=spi_flash soc
+TEST_COMPONENTS=spi_flash
 CONFIG_SPIRAM=y
 CONFIG_ESP_INT_WDT_TIMEOUT_MS=800
 CONFIG_SPIRAM_OCCUPY_NO_HOST=y

+ 0 - 6
tools/unit-test-app/configs/psram_3

@@ -1,6 +0,0 @@
-CONFIG_IDF_TARGET="esp32"
-TEST_COMPONENTS=sdmmc
-CONFIG_SPIRAM=y
-CONFIG_ESP_INT_WDT_TIMEOUT_MS=800
-CONFIG_SPIRAM_OCCUPY_NO_HOST=y
-CONFIG_ESP_WIFI_RX_IRAM_OPT=n

+ 1 - 1
tools/unit-test-app/configs/release

@@ -1,5 +1,5 @@
 CONFIG_IDF_TARGET="esp32"
-TEST_COMPONENTS=driver soc spi_flash
+TEST_EXCLUDE_COMPONENTS=test_utils
 CONFIG_COMPILER_OPTIMIZATION_SIZE=y
 CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y
 CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y

+ 0 - 6
tools/unit-test-app/configs/release_2

@@ -1,6 +0,0 @@
-# This config is split between targets since different component needs to be included (esp32, esp32s2)
-CONFIG_IDF_TARGET="esp32"
-TEST_EXCLUDE_COMPONENTS=bt driver soc spi_flash test_utils
-CONFIG_COMPILER_OPTIMIZATION_SIZE=y
-CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y
-CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y

+ 0 - 6
tools/unit-test-app/configs/release_2_s2

@@ -1,6 +0,0 @@
-# This config is split between targets since different component needs to be excluded (esp32, esp32s2)
-CONFIG_IDF_TARGET="esp32s2"
-TEST_EXCLUDE_COMPONENTS=bt driver soc spi_flash test_utils
-CONFIG_COMPILER_OPTIMIZATION_SIZE=y
-CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y
-CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y

+ 5 - 1
tools/unit-test-app/configs/release_c2

@@ -1,5 +1,9 @@
 CONFIG_IDF_TARGET="esp32c2"
-TEST_COMPONENTS=spi_flash sdmmc
+TEST_EXCLUDE_COMPONENTS=test_utils
 CONFIG_COMPILER_OPTIMIZATION_SIZE=y
 CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y
 CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y
+CONFIG_NEWLIB_TIME_SYSCALL_USE_NONE=n
+CONFIG_NEWLIB_TIME_SYSCALL_USE_HRT=y
+CONFIG_NEWLIB_TIME_SYSCALL_USE_RTC=n
+CONFIG_NEWLIB_TIME_SYSCALL_USE_RTC_HRT=n

+ 0 - 5
tools/unit-test-app/configs/release_c3_2

@@ -1,5 +0,0 @@
-CONFIG_IDF_TARGET="esp32c3"
-TEST_COMPONENTS=spi_flash sdmmc
-CONFIG_COMPILER_OPTIMIZATION_SIZE=y
-CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y
-CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y

+ 1 - 1
tools/unit-test-app/configs/release_c6

@@ -1,5 +1,5 @@
 CONFIG_IDF_TARGET="esp32c6"
-TEST_COMPONENTS=esp_ipc spi_flash sdmmc
+TEST_EXCLUDE_COMPONENTS=test_utils
 CONFIG_COMPILER_OPTIMIZATION_SIZE=y
 CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y
 CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y

+ 1 - 1
tools/unit-test-app/configs/release_h2

@@ -1,5 +1,5 @@
 CONFIG_IDF_TARGET="esp32h2"
-TEST_COMPONENTS=esp_ipc spi_flash sdmmc
+TEST_EXCLUDE_COMPONENTS=test_utils
 CONFIG_COMPILER_OPTIMIZATION_SIZE=y
 CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y
 CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y

+ 1 - 1
tools/unit-test-app/configs/release_s2

@@ -1,6 +1,6 @@
 # This config is split between targets since different component needs to be included (esp32, esp32s2)
 CONFIG_IDF_TARGET="esp32s2"
-TEST_COMPONENTS=spi_flash
+TEST_EXCLUDE_COMPONENTS=test_utils
 CONFIG_COMPILER_OPTIMIZATION_SIZE=y
 CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y
 CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y

+ 1 - 1
tools/unit-test-app/configs/release_s3

@@ -1,5 +1,5 @@
 CONFIG_IDF_TARGET="esp32s3"
-TEST_COMPONENTS=spi_flash
+TEST_EXCLUDE_COMPONENTS=test_utils
 CONFIG_COMPILER_OPTIMIZATION_SIZE=y
 CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y
 CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y

+ 1 - 2
tools/unit-test-app/configs/single_core

@@ -1,6 +1,5 @@
-# This config is split between targets since different component needs to be included (esp32, esp32s2)
 CONFIG_IDF_TARGET="esp32"
-TEST_COMPONENTS=spi_flash
+TEST_EXCLUDE_COMPONENTS=test_utils
 CONFIG_FREERTOS_UNICORE=y
 CONFIG_ESP32_IRAM_AS_8BIT_ACCESSIBLE_MEMORY=y
 CONFIG_ESP32_RTCDATA_IN_FAST_MEM=y

+ 0 - 5
tools/unit-test-app/configs/single_core_2

@@ -1,5 +0,0 @@
-# This config is split between targets since different component needs to be excluded (esp32, esp32s2)
-CONFIG_IDF_TARGET="esp32"
-TEST_EXCLUDE_COMPONENTS=bt driver soc spi_flash test_utils
-CONFIG_FREERTOS_UNICORE=y
-CONFIG_ESP32_RTCDATA_IN_FAST_MEM=y

+ 0 - 5
tools/unit-test-app/configs/single_core_2_s2

@@ -1,5 +0,0 @@
-# This config is split between targets since different component needs to be excluded (esp32, esp32s2)
-CONFIG_IDF_TARGET="esp32s2"
-TEST_EXCLUDE_COMPONENTS=bt driver soc spi_flash
-CONFIG_FREERTOS_UNICORE=y
-CONFIG_ESP32S2_RTCDATA_IN_FAST_MEM=y