Rev 11613: Add generic target for test coverage data. in file:///home/jelmer/bzr.samba/SAMBA_4_0/

Jelmer Vernooij jelmer at samba.org
Wed Feb 28 02:03:57 GMT 2007


At file:///home/jelmer/bzr.samba/SAMBA_4_0/

------------------------------------------------------------
revno: 11613
revision-id: jelmer at samba.org-20070228020348-xip9pfy6ou5otvu9
parent: svn-v2:21579 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: SAMBA_4_0
timestamp: Wed 2007-02-28 03:03:48 +0100
message:
  Add generic target for test coverage data.
modified:
  source/main.mk                 svn-v2:8991 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2fmain.mk
  source/torture/config.mk       svn-v2:860 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2ftorture%2fconfig.mk
=== modified file 'source/main.mk'
--- a/source/main.mk	2007-02-21 10:37:25 +0000
+++ b/source/main.mk	2007-02-28 02:03:48 +0000
@@ -194,6 +194,11 @@
 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
 

=== modified file 'source/torture/config.mk'
--- a/source/torture/config.mk	2007-02-27 23:35:38 +0000
+++ b/source/torture/config.mk	2007-02-28 02:03:48 +0000
@@ -365,3 +365,5 @@
 	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



More information about the samba-cvs mailing list