summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2009-08-07 20:50:22 +0000
committerPeter Eisentraut <peter_e@gmx.net>2009-08-07 20:50:22 +0000
commit7798147a7642521055f48e1b27b7024c46c6b446 (patch)
tree4464257703236148eee73a44244b5bc10f6b6f95 /src/Makefile
parente605fbcccdf4705de4afa7e23be5b8222e1cb00d (diff)
downloadpostgresql-7798147a7642521055f48e1b27b7024c46c6b446.tar.gz
Expand test coverage support to entire tree
Test coverage support now covers the entire source tree, including contrib, instead of just src/backend. In a related but independent development, the commands make coverage and make coverage-html can be run in any directory. This turned out to be much easier than feared. Besides a few ad hoc fixes to pass the make target down the tree, change all affected makefiles to list their directories in the SUBDIRS variable, changed from variants like DIRS and WANTED_DIRS. MSVC build fix was attempted as well.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 7b00776c4b..8c869573bf 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
-# $PostgreSQL: pgsql/src/Makefile,v 1.45 2009/02/24 10:06:32 petere Exp $
+# $PostgreSQL: pgsql/src/Makefile,v 1.46 2009/08/07 20:50:22 petere Exp $
#
#-------------------------------------------------------------------------
@@ -73,5 +73,14 @@ distclean maintainer-clean:
$(MAKE) -C test/thread $@
rm -f Makefile.port Makefile.global
+coverage:
+ $(MAKE) -C timezone $@
+ $(MAKE) -C backend $@
+ $(MAKE) -C backend/utils/mb/conversion_procs $@
+ $(MAKE) -C backend/snowball $@
+ $(MAKE) -C interfaces $@
+ $(MAKE) -C bin $@
+ $(MAKE) -C pl $@
+
.PHONY: install-local installdirs-local uninstall-local