summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-02-28 02:06:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:48:59 -0500
commit179a9c72107609e3e5a06a7bf8f34c4ed9a341e8 (patch)
treeed443cb6a7abdbeac05e56c48f23122e165c38ca /source4
parent3bc13d6eeda1a8e5e0ebec8c85c3aaf2ded2b111 (diff)
downloadsamba-179a9c72107609e3e5a06a7bf8f34c4ed9a341e8.tar.gz
samba-179a9c72107609e3e5a06a7bf8f34c4ed9a341e8.tar.bz2
samba-179a9c72107609e3e5a06a7bf8f34c4ed9a341e8.zip
r21580: Add generic target for test coverage data.
(This used to be commit a41b72458d04a18da0c0c59cef8a2e24f77e8890)
Diffstat (limited to 'source4')
-rw-r--r--source4/main.mk5
-rw-r--r--source4/torture/config.mk2
2 files changed, 7 insertions, 0 deletions
diff --git a/source4/main.mk b/source4/main.mk
index 3c60346cf0..4cfbf8a8fb 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -194,6 +194,11 @@ ctags:
pidl/Makefile: pidl/Makefile.PL
cd pidl && $(PERL) Makefile.PL
+testcov-html:: pidl-testcov
+
+pidl-testcov: pidl/Makefile
+ cd pidl && cover -test
+
installpidl: pidl/Makefile
$(MAKE) -C pidl install
diff --git a/source4/torture/config.mk b/source4/torture/config.mk
index 7f40e2bc05..4f8d3b2e7b 100644
--- a/source4/torture/config.mk
+++ b/source4/torture/config.mk
@@ -365,3 +365,5 @@ lcov: test_cov
rm heimdal/lib/*/{lex,parse}.{gcda,gcno}
lcov --base-directory `pwd` --directory . --capture --output-file samba.info
genhtml -o coverage samba.info
+
+testcov-html:: lcov