New unity component can be used for testing other applications. Upstream version of Unity is included as a submodule. Utilities specific to ESP-IDF unit tests (partitions, leak checking setup/teardown functions, etc) are kept only in unit-test-app. Kconfig options are added to allow disabling certain Unity features.
5 lines
No EOL
161 B
CMake
5 lines
No EOL
161 B
CMake
set(COMPONENT_SRCDIRS ".")
|
|
set(COMPONENT_PRIV_INCLUDEDIRS "../private_include" ".")
|
|
set(COMPONENT_PRIV_REQUIRES unity test_utils esp_event)
|
|
|
|
register_component() |