clean better
[heimdal.git] / tools / cov.sh
blob8ceba2d21066dcc6143abe90e52deca87465d9dd
2 d="lib/roken lib/krb5 lib/gssapi lib/ntlm tests/kdc tests/gss kuser"
4 basedir=$(basedir $0)
6 ${basedir}/../configure CFLAGS='-fprofile-arcs -ftest-coverage' > log
8 lcov --directory . --zerocounters
10 make all check > log
12 lcov --directory . --capture --output-file heimdal-lcov.info
14 objdir="/Volumes/data/Users/lha/obj/hg"
15 srcdir="/Volumes/data/Users/lha/src/heimdal/git"
17 perl -pi -e "s@SF:$objdir/(.*.[ly])\$@SF:$srcdir/\$1@" heimdal-lcov.info
19 genhtml heimdal-lcov.info