mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
314 B
19 lines
314 B
10 years ago
|
#!/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
|
||
|
|