diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-05-17 09:49:09 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-05-17 09:49:09 +0200 |
commit | 9eac126e528b27551dcc689e0d38fe3965ea8314 (patch) | |
tree | 67143f0955c81740f918805106d13f88c02d1046 /contrib/coverage.sh | |
parent | aa89db4d0a92f341eb6239a06c7b69410934132b (diff) |
adding script to generate code coverage report
Diffstat (limited to 'contrib/coverage.sh')
-rwxr-xr-x | contrib/coverage.sh | 10 |
1 files changed, 10 insertions, 0 deletions
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 |