summaryrefslogtreecommitdiff
path: root/GNUmakefile.in
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2018-12-31 13:54:38 -0800
committerNoah Misch <noah@leadboat.com>2018-12-31 13:54:38 -0800
commitaa019da523912876ec20129f28b3b1657ba6f263 (patch)
tree21dcd07e2d3b2f2d63a7c00e6e97bd8c183869fd /GNUmakefile.in
parent76f7b0b08ac44733193bfb0b0d61dd2b32cdc21b (diff)
downloadpostgresql-aa019da523912876ec20129f28b3b1657ba6f263.tar.gz
Process EXTRA_INSTALL serially, during the first temp-install.
This closes a race condition in "make -j check-world"; the symptom was EEXIST errors. Back-patch to v10, before which parallel check-world had worse problems. Discussion: https://postgr.es/m/20181224221601.GA3227827@rfd.leadboat.com
Diffstat (limited to 'GNUmakefile.in')
-rw-r--r--GNUmakefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/GNUmakefile.in b/GNUmakefile.in
index 563c83b5a2..f4e31a7c5f 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -63,10 +63,12 @@ distclean maintainer-clean:
@rm -rf autom4te.cache/
rm -f config.cache config.log config.status GNUmakefile
+check check-tests installcheck installcheck-parallel installcheck-tests: CHECKPREP_TOP=src/test/regress
check check-tests installcheck installcheck-parallel installcheck-tests: submake-generated-headers
$(MAKE) -C src/test/regress $@
$(call recurse,check-world,src/test src/pl src/interfaces/ecpg contrib src/bin,check)
+$(call recurse,checkprep, src/test src/pl src/interfaces/ecpg contrib src/bin)
$(call recurse,installcheck-world,src/test src/pl src/interfaces/ecpg contrib src/bin,installcheck)