aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-09-07 09:09:31 +0000
committerChristian Grothoff <christian@grothoff.org>2012-09-07 09:09:31 +0000
commit4cedd4a26b52364fcbd5f8bdf01383579fc2e599 (patch)
tree271d68a619f6092f3169980a007e374d606baa29 /contrib
parent6869bef16e95e3cc5cb7650025f44d1153bd7b8f (diff)
downloadlibextractor-4cedd4a26b52364fcbd5f8bdf01383579fc2e599.tar.gz
libextractor-4cedd4a26b52364fcbd5f8bdf01383579fc2e599.zip
-ignore
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/coverage.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/coverage.sh b/contrib/coverage.sh
new file mode 100755
index 0000000..8839203
--- /dev/null
+++ b/contrib/coverage.sh
@@ -0,0 +1,14 @@
1#!/bin/sh
2# make sure configure was run with coverage enabled...
3lcov --directory . --zerocounters
4make check || true
5rm `find * -name "test_*.gc??"`
6for n in `find * -name "*.gc??" | grep libs`
7do
8 cd `dirname $n`
9 mv `basename $n` ..
10 cd -
11done
12lcov --directory . --capture --output-file app.info
13mkdir -p doc/coverage
14genhtml -o doc/coverage app.info