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.
9 lines
215 B
CMake
9 lines
215 B
CMake
set(COMPONENT_SRCS "ref_clock.c"
|
|
"test_runner.c"
|
|
"test_utils.c")
|
|
set(COMPONENT_ADD_INCLUDEDIRS include)
|
|
|
|
set(COMPONENT_REQUIRES spi_flash idf_test unity)
|
|
|
|
register_component()
|
|
|