From: Peter Eisentraut Date: Tue, 27 Dec 2011 18:27:24 +0000 (+0200) Subject: Run "make all" as a prerequisite of "make check" X-Git-Tag: REL9_2_BETA1~650 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c317a3ac167d36244e8dd5add679b4e9ff36ea16;p=postgresql Run "make all" as a prerequisite of "make check" This is the standard behavior but was forgotten in some places. --- diff --git a/contrib/pg_upgrade/Makefile b/contrib/pg_upgrade/Makefile index f00aad01d6..364b20df1b 100644 --- a/contrib/pg_upgrade/Makefile +++ b/contrib/pg_upgrade/Makefile @@ -24,7 +24,7 @@ include $(top_builddir)/src/Makefile.global include $(top_srcdir)/contrib/contrib-global.mk endif -check: test.sh +check: test.sh all MAKE=$(MAKE) bindir=$(bindir) libdir=$(libdir) $(SHELL) $< --install # disabled because it upsets the build farm diff --git a/src/pl/plperl/GNUmakefile b/src/pl/plperl/GNUmakefile index 55f48cd401..0f3bd99570 100644 --- a/src/pl/plperl/GNUmakefile +++ b/src/pl/plperl/GNUmakefile @@ -97,7 +97,7 @@ uninstall-data: .PHONY: install-data uninstall-data -check: submake +check: all submake $(pg_regress_check) $(REGRESS_OPTS) $(REGRESS) installcheck: submake diff --git a/src/pl/plpython/Makefile b/src/pl/plpython/Makefile index a31328dd04..af6b459533 100644 --- a/src/pl/plpython/Makefile +++ b/src/pl/plpython/Makefile @@ -149,7 +149,7 @@ prep3: clean3: rm -rf python3/ -check: submake prep3 +check: all submake prep3 $(pg_regress_check) --inputdir=./python3 --outputdir=./python3 $(REGRESS_OPTS) $(REGRESS) installcheck: submake prep3 @@ -157,7 +157,7 @@ installcheck: submake prep3 clean: clean3 else # not Python 3 -check: submake +check: all submake $(pg_regress_check) $(REGRESS_OPTS) $(REGRESS) installcheck: submake diff --git a/src/pl/tcl/Makefile b/src/pl/tcl/Makefile index 77c173bcd8..8a6325aa46 100644 --- a/src/pl/tcl/Makefile +++ b/src/pl/tcl/Makefile @@ -73,7 +73,7 @@ uninstall-data: .PHONY: install-data uninstall-data -check: submake +check: all submake $(pg_regress_check) $(REGRESS_OPTS) $(REGRESS) installcheck: submake