mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
ci(test_apps): limit dependencies for misc test_apps
Only pull in direct dependencies for the test apps, reducing build time as well making it possible for CI to determine if the test should run or not when dependencies are changed.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components")
|
||||
set(COMPONENTS main)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(esp_tcp_transport_test)
|
||||
|
@@ -1,5 +1,5 @@
|
||||
set(srcs "test_app_main.c" "test_transport_basic.c" "test_transport_connect" "test_transport_fixtures.c")
|
||||
idf_component_register(SRCS ${srcs}
|
||||
PRIV_INCLUDE_DIRS "../../private_include" "."
|
||||
PRIV_REQUIRES cmock test_utils tcp_transport unity
|
||||
PRIV_REQUIRES cmock test_utils tcp_transport unity esp_psram
|
||||
WHOLE_ARCHIVE)
|
||||
|
@@ -3,8 +3,6 @@ CONFIG_UNITY_ENABLE_FIXTURE=y
|
||||
CONFIG_SPIRAM=y
|
||||
CONFIG_ESP_INT_WDT_TIMEOUT_MS=800
|
||||
CONFIG_SPIRAM_OCCUPY_NO_HOST=y
|
||||
CONFIG_ESP_WIFI_RX_IRAM_OPT=n
|
||||
CONFIG_ESP_WIFI_IRAM_OPT=n
|
||||
# Disable encrypted flash reads/writes to save IRAM in this build configuration
|
||||
CONFIG_SPI_FLASH_ENABLE_ENCRYPTED_READ_WRITE=n
|
||||
CONFIG_SPIRAM_ALLOW_NOINIT_SEG_EXTERNAL_MEMORY=y
|
||||
|
Reference in New Issue
Block a user