diff --git a/contrib/coverage.sh b/contrib/coverage.sh new file mode 100755 index 000000000..f9106a2e1 --- /dev/null +++ b/contrib/coverage.sh @@ -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