Merge pull request #4414 from nicolasnoble/coverage-option

Improving local test coverage with options.
pull/4422/head
Craig Tiller 9 years ago
commit bfb6c5715e
  1. 3
      tools/run_tests/run_lcov.sh

@ -33,9 +33,10 @@ set -ex
out=$(readlink -f ${1:-coverage})
root=$(readlink -f $(dirname $0)/../..)
shift
tmp=$(mktemp)
cd $root
tools/run_tests/run_tests.py -c gcov -l c c++ || true
tools/run_tests/run_tests.py -c gcov -l c c++ $@ || true
lcov --capture --directory . --output-file $tmp
genhtml $tmp --output-directory $out
rm $tmp

Loading…
Cancel
Save