blob: dd6a6ab53cbffb94f07c413240b2929d0d0fa358 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
# make sure configure was run with coverage enabled...
lcov --directory . --zerocounters
make check
rm `find * -name "test_*.gc??"` `find * -name "perf_*.gc??"`
for n in `find * -name "*.gc??" | grep libs`
do
cd `dirname $n`
mv `basename $n` ..
cd -
done
lcov --directory . --capture --output-file app.info
mkdir -p doc/coverage
genhtml -o doc/coverage app.info
|