r21580: Add generic target for test coverage data.
authorJelmer Vernooij <jelmer@samba.org>
Wed, 28 Feb 2007 02:06:17 +0000 (02:06 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:48:59 +0000 (14:48 -0500)
(This used to be commit a41b72458d04a18da0c0c59cef8a2e24f77e8890)

source4/main.mk
source4/torture/config.mk

index 3c60346cf044d7d0b69b73d2678c89e3bc36a4ca..4cfbf8a8fb415de5cdfc9f02b5763ee383fa752f 100644 (file)
@@ -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
 
index 7f40e2bc050e457c33569ea38a2d926482b2e3d9..4f8d3b2e7b93c13533dc8b2ce0810e461dccead6 100644 (file)
@@ -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