From 3d0967a58a2dd02a39e62bbeff12634fe8b67d6c Mon Sep 17 00:00:00 2001 From: Renz Bagaporo Date: Sun, 22 Mar 2020 18:30:24 +0800 Subject: [PATCH] test: declare requirements and include dirs private --- components/app_trace/test/CMakeLists.txt | 4 ++-- components/app_update/test/CMakeLists.txt | 4 ++-- components/bootloader_support/test/CMakeLists.txt | 4 ++-- components/bt/test/CMakeLists.txt | 4 ++-- components/console/test/CMakeLists.txt | 2 +- components/cxx/test/CMakeLists.txt | 4 ++-- components/driver/test/CMakeLists.txt | 4 ++-- components/efuse/test/CMakeLists.txt | 4 ++-- components/esp32/test/CMakeLists.txt | 4 ++-- components/esp32s2/test/CMakeLists.txt | 4 ++-- components/esp_common/test/CMakeLists.txt | 2 +- components/esp_eth/test/CMakeLists.txt | 2 +- components/esp_http_client/test/CMakeLists.txt | 4 ++-- components/esp_http_server/test/CMakeLists.txt | 4 ++-- components/esp_netif/test/CMakeLists.txt | 2 +- components/esp_ringbuf/test/CMakeLists.txt | 4 ++-- components/esp_timer/test/CMakeLists.txt | 2 +- components/esp_wifi/test/CMakeLists.txt | 4 ++-- components/espcoredump/test/CMakeLists.txt | 4 ++-- components/expat/test/CMakeLists.txt | 4 ++-- components/fatfs/test/CMakeLists.txt | 4 ++-- components/freertos/test/CMakeLists.txt | 4 ++-- components/heap/test/CMakeLists.txt | 4 ++-- components/libsodium/test/CMakeLists.txt | 4 ++-- components/mbedtls/test/CMakeLists.txt | 4 ++-- components/newlib/test/CMakeLists.txt | 4 ++-- components/nvs_flash/test/CMakeLists.txt | 4 ++-- components/partition_table/test/CMakeLists.txt | 4 ++-- components/perfmon/test/CMakeLists.txt | 2 +- components/protocomm/test/CMakeLists.txt | 4 ++-- components/pthread/test/CMakeLists.txt | 4 ++-- components/sdmmc/test/CMakeLists.txt | 4 ++-- components/soc/test/CMakeLists.txt | 4 ++-- components/spi_flash/test/CMakeLists.txt | 4 ++-- components/spiffs/test/CMakeLists.txt | 4 ++-- components/tcp_transport/test/CMakeLists.txt | 2 +- components/ulp/test/CMakeLists.txt | 4 ++-- components/vfs/test/CMakeLists.txt | 4 ++-- components/wear_levelling/test/CMakeLists.txt | 4 ++-- components/wpa_supplicant/test/CMakeLists.txt | 4 ++-- tools/unit-test-app/components/test_utils/test/CMakeLists.txt | 2 +- 41 files changed, 74 insertions(+), 74 deletions(-) diff --git a/components/app_trace/test/CMakeLists.txt b/components/app_trace/test/CMakeLists.txt index 16aca877902..d574eb7ba53 100644 --- a/components/app_trace/test/CMakeLists.txt +++ b/components/app_trace/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES unity) \ No newline at end of file + PRIV_INCLUDE_DIRS "." + PRIV_REQUIRES unity) \ No newline at end of file diff --git a/components/app_update/test/CMakeLists.txt b/components/app_update/test/CMakeLists.txt index 09d19a82193..f140cffa0ac 100644 --- a/components/app_update/test/CMakeLists.txt +++ b/components/app_update/test/CMakeLists.txt @@ -1,4 +1,4 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES unity test_utils app_update bootloader_support nvs_flash + PRIV_INCLUDE_DIRS "." + PRIV_REQUIRES unity test_utils app_update bootloader_support nvs_flash ) \ No newline at end of file diff --git a/components/bootloader_support/test/CMakeLists.txt b/components/bootloader_support/test/CMakeLists.txt index a31c1793454..fb3d9256688 100644 --- a/components/bootloader_support/test/CMakeLists.txt +++ b/components/bootloader_support/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES unity bootloader_support app_update) + PRIV_INCLUDE_DIRS "." + PRIV_REQUIRES unity bootloader_support app_update) diff --git a/components/bt/test/CMakeLists.txt b/components/bt/test/CMakeLists.txt index 0012e8bd170..34fac91ea5d 100644 --- a/components/bt/test/CMakeLists.txt +++ b/components/bt/test/CMakeLists.txt @@ -1,5 +1,5 @@ if(CONFIG_BT_ENABLED OR CMAKE_BUILD_EARLY_EXPANSION) idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES unity nvs_flash bt) + PRIV_INCLUDE_DIRS "." + PRIV_REQUIRES unity nvs_flash bt) endif() \ No newline at end of file diff --git a/components/console/test/CMakeLists.txt b/components/console/test/CMakeLists.txt index 9c41fbaf31b..13562162412 100644 --- a/components/console/test/CMakeLists.txt +++ b/components/console/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS . - INCLUDE_DIRS . + PRIV_INCLUDE_DIRS . PRIV_REQUIRES unity test_utils console) diff --git a/components/cxx/test/CMakeLists.txt b/components/cxx/test/CMakeLists.txt index 16aca877902..d574eb7ba53 100644 --- a/components/cxx/test/CMakeLists.txt +++ b/components/cxx/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES unity) \ No newline at end of file + PRIV_INCLUDE_DIRS "." + PRIV_REQUIRES unity) \ No newline at end of file diff --git a/components/driver/test/CMakeLists.txt b/components/driver/test/CMakeLists.txt index 11e9c0474d3..05d12cf5ca6 100644 --- a/components/driver/test/CMakeLists.txt +++ b/components/driver/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS . param_test - INCLUDE_DIRS include param_test/include - REQUIRES unity test_utils driver nvs_flash esp_serial_slave_link infrared_tools) + PRIV_INCLUDE_DIRS include param_test/include + PRIV_REQUIRES unity test_utils driver nvs_flash esp_serial_slave_link infrared_tools) diff --git a/components/efuse/test/CMakeLists.txt b/components/efuse/test/CMakeLists.txt index 794f8e888c1..e31eefc2267 100644 --- a/components/efuse/test/CMakeLists.txt +++ b/components/efuse/test/CMakeLists.txt @@ -1,5 +1,5 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." "include" + PRIV_INCLUDE_DIRS "." "include" PRIV_INCLUDE_DIRS "../private_include" - REQUIRES unity test_utils efuse bootloader_support + PRIV_REQUIRES unity test_utils efuse bootloader_support ) \ No newline at end of file diff --git a/components/esp32/test/CMakeLists.txt b/components/esp32/test/CMakeLists.txt index d9f57f462da..a0940e04775 100644 --- a/components/esp32/test/CMakeLists.txt +++ b/components/esp32/test/CMakeLists.txt @@ -1,7 +1,7 @@ if(IDF_TARGET STREQUAL "esp32") idf_component_register(SRC_DIRS . - INCLUDE_DIRS . ${CMAKE_CURRENT_BINARY_DIR} - REQUIRES unity test_utils nvs_flash ulp esp_common + PRIV_INCLUDE_DIRS . ${CMAKE_CURRENT_BINARY_DIR} + PRIV_REQUIRES unity test_utils nvs_flash ulp esp_common ) add_custom_command(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/test_tjpgd_logo.h" diff --git a/components/esp32s2/test/CMakeLists.txt b/components/esp32s2/test/CMakeLists.txt index 41f430e49ec..155d8969f05 100644 --- a/components/esp32s2/test/CMakeLists.txt +++ b/components/esp32s2/test/CMakeLists.txt @@ -1,7 +1,7 @@ if(IDF_TARGET STREQUAL "esp32s2") idf_component_register(SRC_DIRS . - INCLUDE_DIRS . ${CMAKE_CURRENT_BINARY_DIR} - REQUIRES unity test_utils nvs_flash ulp esp_common + PRIV_INCLUDE_DIRS . ${CMAKE_CURRENT_BINARY_DIR} + PRIV_REQUIRES unity test_utils nvs_flash ulp esp_common ) add_custom_command(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/test_tjpgd_logo.h" diff --git a/components/esp_common/test/CMakeLists.txt b/components/esp_common/test/CMakeLists.txt index 30def4ebd50..20a390731b9 100644 --- a/components/esp_common/test/CMakeLists.txt +++ b/components/esp_common/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS . - REQUIRES unity spi_flash + PRIV_REQUIRES unity spi_flash ) \ No newline at end of file diff --git a/components/esp_eth/test/CMakeLists.txt b/components/esp_eth/test/CMakeLists.txt index 2f03345364c..0be5a5e4917 100644 --- a/components/esp_eth/test/CMakeLists.txt +++ b/components/esp_eth/test/CMakeLists.txt @@ -1,4 +1,4 @@ idf_component_register(SRC_DIRS . - INCLUDE_DIRS . + PRIV_INCLUDE_DIRS . PRIV_REQUIRES unity test_utils esp_eth esp_http_client ) diff --git a/components/esp_http_client/test/CMakeLists.txt b/components/esp_http_client/test/CMakeLists.txt index 70fc98dcada..202d2fed13a 100644 --- a/components/esp_http_client/test/CMakeLists.txt +++ b/components/esp_http_client/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES unity test_utils esp_http_client) \ No newline at end of file + PRIV_INCLUDE_DIRS "." + PRIV_REQUIRES unity test_utils esp_http_client) \ No newline at end of file diff --git a/components/esp_http_server/test/CMakeLists.txt b/components/esp_http_server/test/CMakeLists.txt index e2ceeb2986b..06a638c13ba 100644 --- a/components/esp_http_server/test/CMakeLists.txt +++ b/components/esp_http_server/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES unity test_utils esp_http_server) \ No newline at end of file + PRIV_INCLUDE_DIRS "." + PRIV_REQUIRES unity test_utils esp_http_server) \ No newline at end of file diff --git a/components/esp_netif/test/CMakeLists.txt b/components/esp_netif/test/CMakeLists.txt index 3601d189847..8efc8936ae2 100644 --- a/components/esp_netif/test/CMakeLists.txt +++ b/components/esp_netif/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "../private_include" "." + PRIV_INCLUDE_DIRS "../private_include" "." PRIV_REQUIRES unity test_utils esp_netif nvs_flash) \ No newline at end of file diff --git a/components/esp_ringbuf/test/CMakeLists.txt b/components/esp_ringbuf/test/CMakeLists.txt index b531a145045..c117151814c 100644 --- a/components/esp_ringbuf/test/CMakeLists.txt +++ b/components/esp_ringbuf/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES unity test_utils) \ No newline at end of file + PRIV_INCLUDE_DIRS "." + PRIV_REQUIRES unity test_utils) \ No newline at end of file diff --git a/components/esp_timer/test/CMakeLists.txt b/components/esp_timer/test/CMakeLists.txt index e78a64e2ad4..f3ffa1f607f 100644 --- a/components/esp_timer/test/CMakeLists.txt +++ b/components/esp_timer/test/CMakeLists.txt @@ -1,6 +1,6 @@ idf_component_register(SRC_DIRS "." PRIV_INCLUDE_DIRS "../private_include" - REQUIRES unity test_utils) + PRIV_REQUIRES unity test_utils) if(CONFIG_ESP_TIMER_IMPL_FRC2) idf_build_set_property(COMPILE_DEFINITIONS "-DESP_TIMER_DYNAMIC_OVERFLOW_VAL" APPEND) diff --git a/components/esp_wifi/test/CMakeLists.txt b/components/esp_wifi/test/CMakeLists.txt index fdf279b4a0c..9cfc6c49f2e 100644 --- a/components/esp_wifi/test/CMakeLists.txt +++ b/components/esp_wifi/test/CMakeLists.txt @@ -1,4 +1,4 @@ idf_component_register(SRC_DIRS . - INCLUDE_DIRS . ${CMAKE_CURRENT_BINARY_DIR} - REQUIRES unity test_utils nvs_flash ulp esp_common + PRIV_INCLUDE_DIRS . ${CMAKE_CURRENT_BINARY_DIR} + PRIV_REQUIRES unity test_utils nvs_flash ulp esp_common ) diff --git a/components/espcoredump/test/CMakeLists.txt b/components/espcoredump/test/CMakeLists.txt index c000ba4e576..72841c52d47 100644 --- a/components/espcoredump/test/CMakeLists.txt +++ b/components/espcoredump/test/CMakeLists.txt @@ -2,6 +2,6 @@ if(TESTS_ALL EQUAL 1) message("not linking coredump test from CI.") else() idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES unity nvs_flash) + PRIV_INCLUDE_DIRS "." + PRIV_REQUIRES unity nvs_flash) endif() \ No newline at end of file diff --git a/components/expat/test/CMakeLists.txt b/components/expat/test/CMakeLists.txt index 28d0afb4131..6e5f5cadd7b 100644 --- a/components/expat/test/CMakeLists.txt +++ b/components/expat/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES unity expat) \ No newline at end of file + PRIV_INCLUDE_DIRS "." + PRIV_REQUIRES unity expat) \ No newline at end of file diff --git a/components/fatfs/test/CMakeLists.txt b/components/fatfs/test/CMakeLists.txt index bb32fd2d9f1..d1a90750bfe 100644 --- a/components/fatfs/test/CMakeLists.txt +++ b/components/fatfs/test/CMakeLists.txt @@ -1,5 +1,5 @@ idf_component_register(SRC_DIRS . - INCLUDE_DIRS . - REQUIRES unity test_utils vfs fatfs + PRIV_INCLUDE_DIRS . + PRIV_REQUIRES unity test_utils vfs fatfs EMBED_TXTFILES fatfs.img ) \ No newline at end of file diff --git a/components/freertos/test/CMakeLists.txt b/components/freertos/test/CMakeLists.txt index 6037c945d09..8b3fd3809a2 100644 --- a/components/freertos/test/CMakeLists.txt +++ b/components/freertos/test/CMakeLists.txt @@ -1,4 +1,4 @@ idf_component_register(SRC_DIRS . - INCLUDE_DIRS . - REQUIRES unity test_utils + PRIV_INCLUDE_DIRS . + PRIV_REQUIRES unity test_utils ) \ No newline at end of file diff --git a/components/heap/test/CMakeLists.txt b/components/heap/test/CMakeLists.txt index b70637f2632..a04ffe0bbde 100644 --- a/components/heap/test/CMakeLists.txt +++ b/components/heap/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES unity test_utils heap) \ No newline at end of file + PRIV_INCLUDE_DIRS "." + PRIV_REQUIRES unity test_utils heap) \ No newline at end of file diff --git a/components/libsodium/test/CMakeLists.txt b/components/libsodium/test/CMakeLists.txt index 2e3a43bad67..614a03f854d 100644 --- a/components/libsodium/test/CMakeLists.txt +++ b/components/libsodium/test/CMakeLists.txt @@ -11,8 +11,8 @@ else() endforeach() idf_component_register(SRCS "${TEST_CASES_FILES}" "test_sodium.c" - INCLUDE_DIRS "." "${LS_TESTDIR}/../quirks" - REQUIRES unity libsodium) + PRIV_INCLUDE_DIRS "." "${LS_TESTDIR}/../quirks" + PRIV_REQUIRES unity libsodium) # The libsodium test suite is designed to be run each test case as an executable on a desktop computer and uses # filesytem to write & then compare contents of each file. diff --git a/components/mbedtls/test/CMakeLists.txt b/components/mbedtls/test/CMakeLists.txt index a12b74795b2..b7239e84a85 100644 --- a/components/mbedtls/test/CMakeLists.txt +++ b/components/mbedtls/test/CMakeLists.txt @@ -1,6 +1,6 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES unity test_utils mbedtls libsodium + PRIV_INCLUDE_DIRS "." + PRIV_REQUIRES unity test_utils mbedtls libsodium EMBED_TXTFILES server_cert_chain.pem prvtkey.pem server_cert_bundle) diff --git a/components/newlib/test/CMakeLists.txt b/components/newlib/test/CMakeLists.txt index b531a145045..c117151814c 100644 --- a/components/newlib/test/CMakeLists.txt +++ b/components/newlib/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES unity test_utils) \ No newline at end of file + PRIV_INCLUDE_DIRS "." + PRIV_REQUIRES unity test_utils) \ No newline at end of file diff --git a/components/nvs_flash/test/CMakeLists.txt b/components/nvs_flash/test/CMakeLists.txt index 4f0d184d220..3c35870c692 100644 --- a/components/nvs_flash/test/CMakeLists.txt +++ b/components/nvs_flash/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES unity test_utils nvs_flash bootloader_support) + PRIV_INCLUDE_DIRS "." + PRIV_REQUIRES unity test_utils nvs_flash bootloader_support) diff --git a/components/partition_table/test/CMakeLists.txt b/components/partition_table/test/CMakeLists.txt index b531a145045..c117151814c 100644 --- a/components/partition_table/test/CMakeLists.txt +++ b/components/partition_table/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES unity test_utils) \ No newline at end of file + PRIV_INCLUDE_DIRS "." + PRIV_REQUIRES unity test_utils) \ No newline at end of file diff --git a/components/perfmon/test/CMakeLists.txt b/components/perfmon/test/CMakeLists.txt index c2b87155cb7..9e6fa3868be 100644 --- a/components/perfmon/test/CMakeLists.txt +++ b/components/perfmon/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." + PRIV_INCLUDE_DIRS "." PRIV_REQUIRES unity xtensa perfmon) diff --git a/components/protocomm/test/CMakeLists.txt b/components/protocomm/test/CMakeLists.txt index 6e04b5332ef..48ba9e1367c 100644 --- a/components/protocomm/test/CMakeLists.txt +++ b/components/protocomm/test/CMakeLists.txt @@ -1,4 +1,4 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." + PRIV_INCLUDE_DIRS "." PRIV_INCLUDE_DIRS "../proto-c/" - REQUIRES unity mbedtls protocomm protobuf-c) \ No newline at end of file + PRIV_REQUIRES unity mbedtls protocomm protobuf-c) \ No newline at end of file diff --git a/components/pthread/test/CMakeLists.txt b/components/pthread/test/CMakeLists.txt index bb02dc7d41a..652f74eb7c5 100644 --- a/components/pthread/test/CMakeLists.txt +++ b/components/pthread/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES unity test_utils pthread) \ No newline at end of file + PRIV_INCLUDE_DIRS "." + PRIV_REQUIRES unity test_utils pthread) \ No newline at end of file diff --git a/components/sdmmc/test/CMakeLists.txt b/components/sdmmc/test/CMakeLists.txt index 01dde41cadf..6c7d0e1a63b 100644 --- a/components/sdmmc/test/CMakeLists.txt +++ b/components/sdmmc/test/CMakeLists.txt @@ -1,4 +1,4 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES unity sdmmc + PRIV_INCLUDE_DIRS "." + PRIV_REQUIRES unity sdmmc ) \ No newline at end of file diff --git a/components/soc/test/CMakeLists.txt b/components/soc/test/CMakeLists.txt index 17353d3730c..096f006af63 100644 --- a/components/soc/test/CMakeLists.txt +++ b/components/soc/test/CMakeLists.txt @@ -1,5 +1,5 @@ idf_build_get_property(soc_name IDF_TARGET) idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "${include_dirs}" - REQUIRES unity test_utils) + PRIV_INCLUDE_DIRS "${include_dirs}" + PRIV_REQUIRES unity test_utils) diff --git a/components/spi_flash/test/CMakeLists.txt b/components/spi_flash/test/CMakeLists.txt index 5a3db1ddafd..820b701b6ea 100644 --- a/components/spi_flash/test/CMakeLists.txt +++ b/components/spi_flash/test/CMakeLists.txt @@ -4,6 +4,6 @@ endif() idf_component_register(SRC_DIRS "." EXCLUDE_SRCS "${exclude_srcs}" - INCLUDE_DIRS "." - REQUIRES unity test_utils spi_flash bootloader_support app_update) + PRIV_INCLUDE_DIRS "." + PRIV_REQUIRES unity test_utils spi_flash bootloader_support app_update) diff --git a/components/spiffs/test/CMakeLists.txt b/components/spiffs/test/CMakeLists.txt index 20bfd7a7d47..3c486593d01 100644 --- a/components/spiffs/test/CMakeLists.txt +++ b/components/spiffs/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." - REQUIRES unity test_utils spiffs) \ No newline at end of file + PRIV_INCLUDE_DIRS "." + PRIV_REQUIRES unity test_utils spiffs) \ No newline at end of file diff --git a/components/tcp_transport/test/CMakeLists.txt b/components/tcp_transport/test/CMakeLists.txt index 0d1ac818c91..89846a75381 100644 --- a/components/tcp_transport/test/CMakeLists.txt +++ b/components/tcp_transport/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "../private_include" "." + PRIV_INCLUDE_DIRS "../private_include" "." PRIV_REQUIRES unity test_utils tcp_transport) \ No newline at end of file diff --git a/components/ulp/test/CMakeLists.txt b/components/ulp/test/CMakeLists.txt index 78c45d4fecd..4d35a94c4b8 100644 --- a/components/ulp/test/CMakeLists.txt +++ b/components/ulp/test/CMakeLists.txt @@ -1,7 +1,7 @@ if(IDF_TARGET STREQUAL "esp32") idf_component_register(SRC_DIRS esp32 - INCLUDE_DIRS . - REQUIRES unity ulp soc esp_common) + PRIV_INCLUDE_DIRS . + PRIV_REQUIRES unity ulp soc esp_common) set(ulp_app_name ulp_test_app) set(ulp_s_sources "ulp/test_jumps_esp32.S") diff --git a/components/vfs/test/CMakeLists.txt b/components/vfs/test/CMakeLists.txt index da9ed3c35a5..331489b315f 100644 --- a/components/vfs/test/CMakeLists.txt +++ b/components/vfs/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS . - REQUIRES unity test_utils vfs fatfs spiffs) + PRIV_INCLUDE_DIRS . + PRIV_REQUIRES unity test_utils vfs fatfs spiffs) diff --git a/components/wear_levelling/test/CMakeLists.txt b/components/wear_levelling/test/CMakeLists.txt index 765f707cfe7..3d32791af85 100644 --- a/components/wear_levelling/test/CMakeLists.txt +++ b/components/wear_levelling/test/CMakeLists.txt @@ -1,5 +1,5 @@ idf_component_register(SRC_DIRS . - INCLUDE_DIRS . - REQUIRES unity test_utils wear_levelling + PRIV_INCLUDE_DIRS . + PRIV_REQUIRES unity test_utils wear_levelling EMBED_FILES test_partition_v1.bin ) \ No newline at end of file diff --git a/components/wpa_supplicant/test/CMakeLists.txt b/components/wpa_supplicant/test/CMakeLists.txt index e64539d3e05..d1099cc1591 100644 --- a/components/wpa_supplicant/test/CMakeLists.txt +++ b/components/wpa_supplicant/test/CMakeLists.txt @@ -1,7 +1,7 @@ idf_component_register(SRC_DIRS "." - INCLUDE_DIRS "." "${CMAKE_CURRENT_BINARY_DIR}" + PRIV_INCLUDE_DIRS "." "${CMAKE_CURRENT_BINARY_DIR}" PRIV_INCLUDE_DIRS "../src" - REQUIRES unity esp_common test_utils wpa_supplicant mbedtls) + PRIV_REQUIRES unity esp_common test_utils wpa_supplicant mbedtls) idf_component_get_property(esp_supplicant_dir wpa_supplicant COMPONENT_DIR) diff --git a/tools/unit-test-app/components/test_utils/test/CMakeLists.txt b/tools/unit-test-app/components/test_utils/test/CMakeLists.txt index 55553bc9a1f..1ad7802a8a6 100644 --- a/tools/unit-test-app/components/test_utils/test/CMakeLists.txt +++ b/tools/unit-test-app/components/test_utils/test/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRC_DIRS "." PRIV_INCLUDE_DIRS "." - REQUIRES unity test_utils perfmon) + PRIV_REQUIRES unity test_utils perfmon)