zephyr/subsys/testsuite/CMakeLists.txt
Joshua Lilly b3cba84dcd testsuite: coverage: allow access to gcov internals
This allows external applications wishing to report coverage data over
different interfaces the ability to do so by exposing the gcov list.

Signed-off-by: Joshua Lilly <jgl@meta.com>
2023-11-29 04:59:47 -08:00

12 lines
399 B
CMake

# SPDX-License-Identifier: Apache-2.0
add_subdirectory_ifdef(CONFIG_ZTEST ztest)
if(CONFIG_TEST)
zephyr_include_directories(${ZEPHYR_BASE}/subsys/testsuite/include)
endif()
add_subdirectory_ifdef(CONFIG_COVERAGE_GCOV coverage)
zephyr_include_directories_ifdef(CONFIG_COVERAGE_GCOV ${zephyr_BASE}/subsys/testsuite/coverage)
zephyr_library_sources_ifdef(CONFIG_TEST_BUSY_SIM busy_sim/busy_sim.c)