mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Run "make all" as a prerequisite of "make check"
This is the standard behavior but was forgotten in some places.
This commit is contained in:
parent
54d792f3e5
commit
c317a3ac16
@ -24,7 +24,7 @@ include $(top_builddir)/src/Makefile.global
|
|||||||
include $(top_srcdir)/contrib/contrib-global.mk
|
include $(top_srcdir)/contrib/contrib-global.mk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
check: test.sh
|
check: test.sh all
|
||||||
MAKE=$(MAKE) bindir=$(bindir) libdir=$(libdir) $(SHELL) $< --install
|
MAKE=$(MAKE) bindir=$(bindir) libdir=$(libdir) $(SHELL) $< --install
|
||||||
|
|
||||||
# disabled because it upsets the build farm
|
# disabled because it upsets the build farm
|
||||||
|
@ -97,7 +97,7 @@ uninstall-data:
|
|||||||
.PHONY: install-data uninstall-data
|
.PHONY: install-data uninstall-data
|
||||||
|
|
||||||
|
|
||||||
check: submake
|
check: all submake
|
||||||
$(pg_regress_check) $(REGRESS_OPTS) $(REGRESS)
|
$(pg_regress_check) $(REGRESS_OPTS) $(REGRESS)
|
||||||
|
|
||||||
installcheck: submake
|
installcheck: submake
|
||||||
|
@ -149,7 +149,7 @@ prep3:
|
|||||||
clean3:
|
clean3:
|
||||||
rm -rf python3/
|
rm -rf python3/
|
||||||
|
|
||||||
check: submake prep3
|
check: all submake prep3
|
||||||
$(pg_regress_check) --inputdir=./python3 --outputdir=./python3 $(REGRESS_OPTS) $(REGRESS)
|
$(pg_regress_check) --inputdir=./python3 --outputdir=./python3 $(REGRESS_OPTS) $(REGRESS)
|
||||||
|
|
||||||
installcheck: submake prep3
|
installcheck: submake prep3
|
||||||
@ -157,7 +157,7 @@ installcheck: submake prep3
|
|||||||
|
|
||||||
clean: clean3
|
clean: clean3
|
||||||
else # not Python 3
|
else # not Python 3
|
||||||
check: submake
|
check: all submake
|
||||||
$(pg_regress_check) $(REGRESS_OPTS) $(REGRESS)
|
$(pg_regress_check) $(REGRESS_OPTS) $(REGRESS)
|
||||||
|
|
||||||
installcheck: submake
|
installcheck: submake
|
||||||
|
@ -73,7 +73,7 @@ uninstall-data:
|
|||||||
.PHONY: install-data uninstall-data
|
.PHONY: install-data uninstall-data
|
||||||
|
|
||||||
|
|
||||||
check: submake
|
check: all submake
|
||||||
$(pg_regress_check) $(REGRESS_OPTS) $(REGRESS)
|
$(pg_regress_check) $(REGRESS_OPTS) $(REGRESS)
|
||||||
|
|
||||||
installcheck: submake
|
installcheck: submake
|
||||||
|
Loading…
Reference in New Issue
Block a user