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.
6 lines
No EOL
133 B
CMake
6 lines
No EOL
133 B
CMake
set(COMPONENT_SRCDIRS ".")
|
|
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
|
|
|
set(COMPONENT_REQUIRES unity test_utils pthread)
|
|
|
|
register_component() |