adding script to generate code coverage report

This commit is contained in:
Christian Grothoff 2015-05-17 09:49:09 +02:00
parent aa89db4d0a
commit 9eac126e52

10
contrib/coverage.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
# Run from 'taler-mint/' top-level directory to generate
# code coverage data.
TOP=`pwd`
mkdir -p doc/coverage/
lcov -d $TOP -z
make check
lcov -d $TOP -c -o doc/coverage/coverage.info
cd doc/coverage/
genhtml coverage.info