diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-09-07 09:09:31 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-09-07 09:09:31 +0000 |
commit | 4cedd4a26b52364fcbd5f8bdf01383579fc2e599 (patch) | |
tree | 271d68a619f6092f3169980a007e374d606baa29 /contrib | |
parent | 6869bef16e95e3cc5cb7650025f44d1153bd7b8f (diff) | |
download | libextractor-4cedd4a26b52364fcbd5f8bdf01383579fc2e599.tar.gz libextractor-4cedd4a26b52364fcbd5f8bdf01383579fc2e599.zip |
-ignore
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/coverage.sh | 14 |
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... | ||
3 | lcov --directory . --zerocounters | ||
4 | make check || true | ||
5 | rm `find * -name "test_*.gc??"` | ||
6 | for n in `find * -name "*.gc??" | grep libs` | ||
7 | do | ||
8 | cd `dirname $n` | ||
9 | mv `basename $n` .. | ||
10 | cd - | ||
11 | done | ||
12 | lcov --directory . --capture --output-file app.info | ||
13 | mkdir -p doc/coverage | ||
14 | genhtml -o doc/coverage app.info | ||