aboutsummaryrefslogtreecommitdiff
path: root/contrib/coverage.sh
blob: 8d5787b2c9eafc341cfd374b371d78fdc357fb97 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh
# make sure configure was run with coverage enabled...
lcov --directory . --zerocounters
make check
lcov --directory . --capture --output-file app.info
mkdir /tmp/coverage
genhtml -o /tmp/coverage app.info