mirror of https://github.com/grpc/grpc.git
commit
3eb079dcad
5 changed files with 39 additions and 0 deletions
@ -0,0 +1,18 @@ |
||||
#!/bin/bash |
||||
|
||||
set -ex |
||||
|
||||
out=`realpath ${1:-coverage}` |
||||
|
||||
root=`realpath $(dirname $0)/../..` |
||||
tmp=`mktemp` |
||||
cd $root |
||||
tools/run_tests/run_tests.py -c gcov |
||||
lcov --capture --directory . --output-file $tmp |
||||
genhtml $tmp --output-directory $out |
||||
rm $tmp |
||||
if which xdg-open > /dev/null |
||||
then |
||||
xdg-open file://$out/index.html |
||||
fi |
||||
|
Loading…
Reference in new issue