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
190 B
CMake
8 lines
No EOL
190 B
CMake
set(COMPONENT_SRCDIRS ".")
|
|
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
|
|
|
set(COMPONENT_REQUIRES unity test_utils wear_levelling)
|
|
|
|
set(COMPONENT_EMBED_FILES test_partition_v1.bin)
|
|
|
|
register_component() |