Configure project for code coverage.

This commit is contained in:
2025-08-05 14:41:14 +03:00
parent 22668b6759
commit 6860dba4d7
5 changed files with 90 additions and 10 deletions

View File

@@ -15,6 +15,13 @@ message(STATUS "srcs=${srcs}")
idf_component_register(
SRCS ${srcs}
INCLUDE_DIRS "."
REQUIRES unity relay_chn
REQUIRES unity relay_chn app_trace
WHOLE_ARCHIVE
)
set_source_files_properties(
"test_common.c"
"test_app_main.c"
"test_relay_chn_core.c"
"test_relay_chn_listener.c"
PROPERTIES COMPILE_FLAGS --coverage)