Skip to content

Commit

Permalink
Merge pull request #67 from ClausKlein/feature/add_gcovr_config_file
Browse files Browse the repository at this point in the history
Add gcovr config file
  • Loading branch information
lefticus authored Mar 18, 2024
2 parents 5b57fce + 18b5c97 commit 8882ce9
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Build directories and binary files
build/
out/
out/coverage/*
cmake-build-*/
conan-cache/

Expand All @@ -15,6 +16,7 @@ CMakeUserPresets.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.bak
*.swp
*~
_ReSharper*
Expand Down
20 changes: 20 additions & 0 deletions gcovr.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
root = .
search-path = out

filter = src/*
filter = include/*

exclude-directories = install
exclude-directories = out/*/*/_deps
exclude-directories = test
exclude-directories = fuzz_test

gcov-ignore-parse-errors = yes
print-summary = yes

html-details = ./out/coverage/index.html

cobertura-pretty = yes
cobertura = out/cobertura.xml

#TBD delete-gcov-files = yes
Empty file added out/coverage/.keep
Empty file.

0 comments on commit 8882ce9

Please sign in to comment.