Skip to content

Commit 065b555

Browse files
Copilotjohnpatek
andcommitted
Add third_party exclusion to gcovr coverage generation
Co-authored-by: johnpatek <31934875+johnpatek@users.noreply.github.com>
1 parent e19cb0b commit 065b555

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@ if(mio.cover)
7070
DEPENDS ${COVER_TARGETS})
7171
add_custom_command(
7272
TARGET cover
73-
COMMAND gcovr -r ${CMAKE_CURRENT_SOURCE_DIR}/.. -e ${CMAKE_CURRENT_SOURCE_DIR})
73+
COMMAND gcovr -r ${CMAKE_CURRENT_SOURCE_DIR}/.. -e ${CMAKE_CURRENT_SOURCE_DIR} -e '${CMAKE_CURRENT_SOURCE_DIR}/../third_party/.*')
7474
endif()
7575
endif()

0 commit comments

Comments
 (0)