Skip to content

Commit

Permalink
cmock: added cmock as component
Browse files Browse the repository at this point in the history
* changing dependencies from unity->cmock
* added component.mk and Makefile.projbuild
* ignore test dir in gen_esp_err_to_name.py
* added some brief introduction of CMock in IDF
  • Loading branch information
0xjakob committed Sep 2, 2020
1 parent 5c5c7c4 commit 20c068e
Show file tree
Hide file tree
Showing 59 changed files with 100 additions and 60 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,7 @@
[submodule "examples/peripherals/secure_element/atecc608_ecdsa/components/esp-cryptoauthlib"]
path = examples/peripherals/secure_element/atecc608_ecdsa/components/esp-cryptoauthlib
url = ../../espressif/esp-cryptoauthlib.git

[submodule "components/cmock/CMock"]
path = components/cmock/CMock
url = ../../ThrowTheSwitch/CMock.git
2 changes: 1 addition & 1 deletion components/app_trace/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity)
PRIV_REQUIRES cmock)
4 changes: 2 additions & 2 deletions components/app_update/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity test_utils app_update bootloader_support nvs_flash
)
PRIV_REQUIRES cmock test_utils app_update bootloader_support nvs_flash
)
2 changes: 1 addition & 1 deletion components/bootloader_support/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity bootloader_support app_update)
PRIV_REQUIRES cmock bootloader_support app_update)
4 changes: 2 additions & 2 deletions components/bt/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if(CONFIG_BT_ENABLED OR CMAKE_BUILD_EARLY_EXPANSION)
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity nvs_flash bt)
endif()
PRIV_REQUIRES cmock nvs_flash bt)
endif()
5 changes: 5 additions & 0 deletions components/cmock/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Although unity is a submodule of cmock, we still depend on the unity component in IDF.
# This is because CI currently doesn't checkout submodules recursively.
idf_component_register(SRCS "CMock/src/cmock.c"
REQUIRES unity
INCLUDE_DIRS "CMock/src")
1 change: 1 addition & 0 deletions components/cmock/CMock
Submodule CMock added at eeecc4
1 change: 1 addition & 0 deletions components/cmock/Makefile.projbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CPPFLAGS += -DUNITY_INCLUDE_CONFIG_H
4 changes: 4 additions & 0 deletions components/cmock/component.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#
# Component Makefile
#

2 changes: 1 addition & 1 deletion components/console/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS .
PRIV_INCLUDE_DIRS .
PRIV_REQUIRES unity test_utils console)
PRIV_REQUIRES cmock test_utils console)
2 changes: 1 addition & 1 deletion components/cxx/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity)
PRIV_REQUIRES cmock)
2 changes: 1 addition & 1 deletion components/driver/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS . param_test touch_sensor_test adc_dma_test dac_dma_test
PRIV_INCLUDE_DIRS include param_test/include touch_sensor_test/include
PRIV_REQUIRES unity test_utils driver nvs_flash esp_serial_slave_link infrared_tools esp_adc_cal)
PRIV_REQUIRES cmock test_utils driver nvs_flash esp_serial_slave_link infrared_tools esp_adc_cal)
4 changes: 2 additions & 2 deletions components/efuse/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "." "include"
PRIV_INCLUDE_DIRS "../private_include"
PRIV_REQUIRES unity test_utils efuse bootloader_support
)
PRIV_REQUIRES cmock test_utils efuse bootloader_support
)
2 changes: 1 addition & 1 deletion components/esp32/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
if(IDF_TARGET STREQUAL "esp32")
idf_component_register(SRC_DIRS .
PRIV_INCLUDE_DIRS .
PRIV_REQUIRES unity test_utils nvs_flash ulp esp_common
PRIV_REQUIRES cmock test_utils nvs_flash ulp esp_common
)
target_link_libraries(${COMPONENT_LIB} INTERFACE "-u ld_include_test_dport_xt_highint5")
endif()
Expand Down
2 changes: 1 addition & 1 deletion components/esp32s2/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
if(IDF_TARGET STREQUAL "esp32s2")
idf_component_register(SRC_DIRS .
PRIV_INCLUDE_DIRS .
PRIV_REQUIRES unity test_utils nvs_flash ulp esp_common
PRIV_REQUIRES cmock test_utils nvs_flash ulp esp_common
)
endif()

3 changes: 2 additions & 1 deletion components/esp_common/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
idf_component_register(SRC_DIRS .
PRIV_REQUIRES unity test_utils spi_flash)
PRIV_REQUIRES cmock test_utils spi_flash
)
2 changes: 1 addition & 1 deletion components/esp_eth/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
idf_component_register(SRC_DIRS .
PRIV_INCLUDE_DIRS .
PRIV_REQUIRES unity test_utils esp_eth esp_http_client
PRIV_REQUIRES cmock test_utils esp_eth esp_http_client
)
2 changes: 1 addition & 1 deletion components/esp_event/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS . ../private_include
PRIV_REQUIRES unity test_utils esp_event driver)
PRIV_REQUIRES cmock test_utils esp_event driver)
2 changes: 1 addition & 1 deletion components/esp_hid/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
INCLUDE_DIRS "."
REQUIRES unity test_utils esp_hid)
REQUIRES cmock test_utils esp_hid)
2 changes: 1 addition & 1 deletion components/esp_http_client/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity test_utils esp_http_client)
PRIV_REQUIRES cmock test_utils esp_http_client)
2 changes: 1 addition & 1 deletion components/esp_http_server/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity test_utils esp_http_server)
PRIV_REQUIRES cmock test_utils esp_http_server)
2 changes: 1 addition & 1 deletion components/esp_ipc/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
if(IDF_TARGET STREQUAL "esp32")
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity test_utils)
PRIV_REQUIRES cmock test_utils)
endif()

2 changes: 1 addition & 1 deletion components/esp_netif/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "../private_include" "."
PRIV_REQUIRES unity test_utils esp_netif nvs_flash)
PRIV_REQUIRES cmock test_utils esp_netif nvs_flash)
2 changes: 1 addition & 1 deletion components/esp_ringbuf/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity test_utils)
PRIV_REQUIRES cmock test_utils)
2 changes: 1 addition & 1 deletion components/esp_rom/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
idf_component_register(SRC_DIRS .
PRIV_INCLUDE_DIRS . ${CMAKE_CURRENT_BINARY_DIR}
PRIV_REQUIRES unity test_utils)
PRIV_REQUIRES cmock test_utils)

if(IDF_TARGET STREQUAL "esp32")
add_custom_command(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/test_tjpgd_logo.h"
Expand Down
4 changes: 2 additions & 2 deletions components/esp_timer/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "../private_include"
PRIV_REQUIRES unity test_utils)
PRIV_REQUIRES cmock test_utils)

if(CONFIG_ESP_TIMER_IMPL_FRC2)
idf_build_set_property(COMPILE_DEFINITIONS "-DESP_TIMER_DYNAMIC_OVERFLOW_VAL" APPEND)
endif()
endif()
2 changes: 1 addition & 1 deletion components/esp_wifi/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
idf_component_register(SRC_DIRS .
PRIV_INCLUDE_DIRS . ${CMAKE_CURRENT_BINARY_DIR}
PRIV_REQUIRES unity test_utils nvs_flash ulp esp_common
PRIV_REQUIRES cmock test_utils nvs_flash ulp esp_common
)
2 changes: 1 addition & 1 deletion components/espcoredump/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ if(TESTS_ALL EQUAL 1)
else()
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity nvs_flash)
PRIV_REQUIRES cmock nvs_flash)
endif()
2 changes: 1 addition & 1 deletion components/expat/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity expat)
PRIV_REQUIRES cmock expat)
2 changes: 1 addition & 1 deletion components/fatfs/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
idf_component_register(SRC_DIRS .
PRIV_INCLUDE_DIRS .
PRIV_REQUIRES unity test_utils vfs fatfs
PRIV_REQUIRES cmock test_utils vfs fatfs
EMBED_TXTFILES fatfs.img
)
4 changes: 2 additions & 2 deletions components/freertos/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
idf_component_register(SRC_DIRS .
PRIV_INCLUDE_DIRS .
PRIV_REQUIRES unity test_utils esp_ipc
)
PRIV_REQUIRES cmock test_utils esp_ipc
)
2 changes: 1 addition & 1 deletion components/heap/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity test_utils heap)
PRIV_REQUIRES cmock test_utils heap)
6 changes: 3 additions & 3 deletions components/libsodium/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ if(TESTS_ALL EQUAL 1)
message("not linking libsodium tests, use '-T libsodium' to test it")
else()
get_filename_component(LS_TESTDIR "${CMAKE_CURRENT_LIST_DIR}/../libsodium/test/default" ABSOLUTE)

set(TEST_CASES "chacha20;aead_chacha20poly1305;box;box2;ed25519_convert;sign;hash")

foreach(test_case ${TEST_CASES})
Expand All @@ -12,7 +12,7 @@ else()

idf_component_register(SRCS "${TEST_CASES_FILES}" "test_sodium.c"
PRIV_INCLUDE_DIRS "." "${LS_TESTDIR}/../quirks"
PRIV_REQUIRES unity libsodium)
PRIV_REQUIRES cmock 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.
Expand All @@ -33,4 +33,4 @@ else()
# this seems odd, but it prevents the libsodium test harness from
# trying to write to a file!
add_definitions(-DBROWSER_TESTS)
endif()
endif()
2 changes: 1 addition & 1 deletion components/mbedtls/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity test_utils mbedtls libsodium
PRIV_REQUIRES cmock test_utils mbedtls libsodium
EMBED_TXTFILES server_cert_chain.pem prvtkey.pem server_cert_bundle)


Expand Down
2 changes: 1 addition & 1 deletion components/mdns/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
idf_component_register(SRC_DIRS "."
PRIV_REQUIRES unity test_utils mdns)
PRIV_REQUIRES cmock test_utils mdns)
2 changes: 1 addition & 1 deletion components/mqtt/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
idf_component_register(SRC_DIRS "."
PRIV_REQUIRES unity test_utils mqtt nvs_flash app_update)
PRIV_REQUIRES cmock test_utils mqtt nvs_flash app_update)
2 changes: 1 addition & 1 deletion components/newlib/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity test_utils)
PRIV_REQUIRES cmock test_utils)
2 changes: 1 addition & 1 deletion components/nvs_flash/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity test_utils nvs_flash bootloader_support)
PRIV_REQUIRES cmock test_utils nvs_flash bootloader_support)
2 changes: 1 addition & 1 deletion components/openssl/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
idf_component_register(SRC_DIRS "."
PRIV_REQUIRES unity test_utils openssl)
PRIV_REQUIRES cmock test_utils openssl)
2 changes: 1 addition & 1 deletion components/partition_table/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity test_utils)
PRIV_REQUIRES cmock test_utils)
2 changes: 1 addition & 1 deletion components/perfmon/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity xtensa perfmon)
PRIV_REQUIRES cmock xtensa perfmon)
2 changes: 1 addition & 1 deletion components/protocomm/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_INCLUDE_DIRS "../proto-c/"
PRIV_REQUIRES unity mbedtls protocomm protobuf-c)
PRIV_REQUIRES cmock mbedtls protocomm protobuf-c)
2 changes: 1 addition & 1 deletion components/pthread/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity test_utils pthread)
PRIV_REQUIRES cmock test_utils pthread)
2 changes: 1 addition & 1 deletion components/sdmmc/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity sdmmc
PRIV_REQUIRES cmock sdmmc
)
2 changes: 1 addition & 1 deletion components/soc/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ idf_build_get_property(soc_name IDF_TARGET)

idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "${include_dirs}"
PRIV_REQUIRES unity test_utils)
PRIV_REQUIRES cmock test_utils)
2 changes: 1 addition & 1 deletion components/spi_flash/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ endif()
idf_component_register(SRC_DIRS "."
EXCLUDE_SRCS "${exclude_srcs}"
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity test_utils spi_flash bootloader_support app_update)
PRIV_REQUIRES cmock test_utils spi_flash bootloader_support app_update)

2 changes: 1 addition & 1 deletion components/spiffs/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES unity test_utils spiffs)
PRIV_REQUIRES cmock test_utils spiffs)
2 changes: 1 addition & 1 deletion components/tcp_transport/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "../private_include" "."
PRIV_REQUIRES unity test_utils tcp_transport)
PRIV_REQUIRES cmock test_utils tcp_transport)
2 changes: 1 addition & 1 deletion components/ulp/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
idf_component_register(SRC_DIRS ${IDF_TARGET}
PRIV_INCLUDE_DIRS .
PRIV_REQUIRES unity ulp soc esp_common)
PRIV_REQUIRES cmock ulp soc esp_common)

if(IDF_TARGET STREQUAL "esp32")
set(ulp_sources "ulp/test_jumps_esp32.S")
Expand Down
2 changes: 1 addition & 1 deletion components/vfs/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS .
PRIV_REQUIRES unity test_utils vfs fatfs spiffs)
PRIV_REQUIRES cmock test_utils vfs fatfs spiffs)
2 changes: 1 addition & 1 deletion components/wear_levelling/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
idf_component_register(SRC_DIRS .
PRIV_INCLUDE_DIRS .
PRIV_REQUIRES unity test_utils wear_levelling
PRIV_REQUIRES cmock test_utils wear_levelling
EMBED_FILES test_partition_v1.bin
)
2 changes: 1 addition & 1 deletion components/wpa_supplicant/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "." "${CMAKE_CURRENT_BINARY_DIR}"
PRIV_INCLUDE_DIRS "../src"
PRIV_REQUIRES unity esp_common test_utils wpa_supplicant mbedtls)
PRIV_REQUIRES cmock esp_common test_utils wpa_supplicant mbedtls)

idf_component_get_property(esp_supplicant_dir wpa_supplicant COMPONENT_DIR)

Expand Down
23 changes: 22 additions & 1 deletion docs/en/api-guides/unit-tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -304,5 +304,26 @@ of time spent on waiting for code/data in case of a cache miss, then subtract th
One limitation of the cache compensated timer is that the task that benchmarked functions should be pinned to a core. This is due to each core having its own event counters that are independent of each other. For example, if ``ccomp_timer_start`` gets called on one core, put to sleep by the scheduler, wakes up, and gets rescheduled on the other core, then the corresponding ``ccomp_timer_stop`` will be invalid.
invalid.

Mocks
-----------------------------------------

ESP-IDF has a component which integrates the CMock mocking framework.
CMock usually uses Unity as a submodule, but due to some Espressif-internal limitations with CI, we still have Unity as an ordinary module in ESP-IDF.
To use the IDF-supplied Unity component which isn't a submodule, the build system needs to pass an environment variable ``UNITY_IDR`` to CMock.
This variable simply contains the path to the Unity directory in IDF, e.g. ``export "UNITY_DIR=${IDF_PATH}/components/unity/unity"``.
Refer to :component_file:`cmock/CMock/lib/cmock_generator.rb` to see how the Unity directory is determined in CMock.

An example cmake build command to create mocks of a component inside that component's CMakeLists.txt may look like this:

.. code-block:: cmake
add_custom_command(
OUTPUT ${MOCK_OUTPUT}
COMMAND ruby ${CMOCK_DIR}/lib/cmock.rb -o${CMAKE_CURRENT_SOURCE_DIR}/mock/mock_config.yaml ${MOCK_HEADERS}
COMMAND ${CMAKE_COMMAND} -E env "UNITY_DIR=${IDF_PATH}/components/unity/unity" ruby ${CMOCK_DIR}/lib/cmock.rb -o${CMAKE_CURRENT_SOURCE_DIR}/mock/mock_config.yaml ${MOCK_HEADERS}
)

${MOCK_OUTPUT} contains all CMock generated output files, ${MOCK_HEADERS} contains all headers to be mocked and ${CMOCK_DIR} needs to be set to CMock directory inside IDF. ${CMAKE_COMMAND} is automatically set.

Refer to :component_file:`cmock/CMock/docs/CMock_Summary.md` for more details on how CMock works and how to create and use mocks.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS .
PRIV_REQUIRES unity test_utils experimental_cpp_component)
PRIV_REQUIRES cmock test_utils experimental_cpp_component)
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
idf_component_register(SRC_DIRS "."
INCLUDE_DIRS "."
REQUIRES unity testable)
REQUIRES cmock testable)
Loading

0 comments on commit 20c068e

Please sign in to comment.