Skip to content

Commit 23801a0

Browse files
committed
fix: codecov reports
1 parent f475f45 commit 23801a0

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

scriptsBuild/buildWithTestCoverage.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/bash
22

3-
# works on macos
4-
53
cd ../..
64
mkdir tomato_test_coverage
75
cd tomato_test_coverage
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

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

0 commit comments

Comments
 (0)