Skip to content
Snippets Groups Projects
Commit 52541439 authored by Nicolas Noble's avatar Nicolas Noble
Browse files

Merge pull request #4039 from ctiller/covrep

Coverage improvements
parents 187c4b36 5dd93dae
No related branches found
No related tags found
No related merge requests found
...@@ -34,8 +34,12 @@ if [ "$CONFIG" != "gcov" ] ; then exit ; fi ...@@ -34,8 +34,12 @@ if [ "$CONFIG" != "gcov" ] ; then exit ; fi
root=$(readlink -f $(dirname $0)/../..) root=$(readlink -f $(dirname $0)/../..)
out=$root/reports/c_cxx_coverage out=$root/reports/c_cxx_coverage
tmp=$(mktemp) tmp1=$(mktemp)
tmp2=$(mktemp)
cd $root cd $root
lcov --capture --directory . --output-file $tmp lcov --capture --directory . --output-file $tmp1
genhtml $tmp --output-directory $out lcov --extract $tmp1 "$root/src/*" "$root/include/*" --output-file $tmp2
rm $tmp genhtml $tmp2 --output-directory $out
rm $tmp2
rm $tmp1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment