1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/third_party/heimdal/tools/cov.sh
Stefan Metzmacher 7055827b8f HEIMDAL: move code from source4/heimdal* to third_party/heimdal*
This makes it clearer that we always want to do heimdal changes
via the lorikeet-heimdal repository.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>

Autobuild-User(master): Joseph Sutton <jsutton@samba.org>
Autobuild-Date(master): Wed Jan 19 21:41:59 UTC 2022 on sn-devel-184
2022-01-19 21:41:59 +00:00

20 lines
474 B
Bash

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