Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/ci-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ jobs:
run: |
pip install --upgrade gcovr
gcovr \
--gcov-ignore-parse-errors \
--exclude-throw-branches \
--xml coverage.xml \
--gcov-executable "${{ startsWith(matrix.cxx, 'clang-') && format('llvm-cov-{0} gcov', env.CXX_VERSION) || format('gcov-{0}', env.CXX_VERSION) }}" \
Expand Down
2 changes: 1 addition & 1 deletion capio-posix/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ install(TARGETS ${TARGET_NAME}
#####################################
IF (ENABLE_COVERAGE)
IF (CMAKE_BUILD_TYPE STREQUAL "Debug")
target_compile_options(${TARGET_NAME} PRIVATE --coverage -fprofile-arcs -ftest-coverage)
target_compile_options(${TARGET_NAME} PRIVATE --coverage -fprofile-arcs -ftest-coverage -fprofile-update=atomic)
target_link_options(${TARGET_NAME} PRIVATE --coverage -fprofile-arcs -ftest-coverage)
IF (CMAKE_C_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
target_link_libraries(${TARGET_NAME} PRIVATE gcov)
Expand Down
2 changes: 1 addition & 1 deletion capio-server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ install(TARGETS ${TARGET_NAME}
IF (ENABLE_COVERAGE)
IF (CMAKE_BUILD_TYPE STREQUAL "Debug")
target_compile_definitions(${TARGET_NAME} PRIVATE CAPIO_COVERAGE)
target_compile_options(${TARGET_NAME} PRIVATE --coverage -fprofile-arcs -ftest-coverage)
target_compile_options(${TARGET_NAME} PRIVATE --coverage -fprofile-arcs -ftest-coverage -fprofile-update=atomic)
target_link_options(${TARGET_NAME} PRIVATE --coverage -fprofile-arcs -ftest-coverage)
IF (CMAKE_C_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
target_link_libraries(${TARGET_NAME} PRIVATE gcov)
Expand Down