Skip to content

Commit

Permalink
fix: codecov reports
Browse files Browse the repository at this point in the history
  • Loading branch information
MRKonrad committed Jul 30, 2019
1 parent f475f45 commit 23801a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions scriptsBuild/buildWithTestCoverage.sh
@@ -1,7 +1,5 @@
#!/bin/bash

# works on macos

cd ../..
mkdir tomato_test_coverage
cd tomato_test_coverage
Expand Down
8 changes: 4 additions & 4 deletions scriptsBuild/generateTestCoverageReport.sh
@@ -1,6 +1,6 @@
#!/bin/bash

eval lcov --capture --directory . --output-file coverage_full.info
eval lcov --remove coverage_full.info '*/thirdParty/*' '*/tests/*' '*/include/ITK*' '*v1*' '*/ITKIOFactoryRegistration/*' '*/usr/include/*' -o coverage.info
eval genhtml coverage.info --output-directory out
eval open out/index.html
lcov --capture --directory . --output-file coverage_full.info > lcov_capture.txt
lcov --remove coverage_full.info '*/thirdParty/*' '*/tests/*' '*/include/ITK*' '*v1*' '*/ITKIOFactoryRegistration/*' '*/usr/include/*' -o coverage.info > lcov_remove.txt
genhtml coverage.info --output-directory out
open out/index.html

0 comments on commit 23801a0

Please sign in to comment.