Files
libmicrohttpd/contrib/coverage.sh
T
2008-12-27 07:33:04 +00:00

14 lines
315 B
Bash
Executable File

#!/bin/sh
# make sure configure was run with coverage enabled...
lcov --directory . --zerocounters
make check
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 /tmp/coverage
genhtml -o /tmp/coverage app.info