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.
8 lines
No EOL
176 B
CMake
8 lines
No EOL
176 B
CMake
set(COMPONENT_SRCDIRS ".")
|
|
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
|
|
|
set(COMPONENT_REQUIRES unity test_utils vfs fatfs)
|
|
|
|
set(COMPONENT_EMBED_TXTFILES fatfs.img)
|
|
|
|
register_component() |