diff options
author | Noah Misch <noah@leadboat.com> | 2017-11-05 18:51:08 -0800 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2017-11-05 18:54:52 -0800 |
commit | 014c5cd8767161995278bc1f4e2fcfb1b703dad1 (patch) | |
tree | 5ce7d26cd11c6133b0fa0ff4a78185069861f0a0 /src/interfaces/ecpg/test | |
parent | 4dc03c8609b5a0ca725a3ee4d6077f23f81461b8 (diff) | |
download | postgresql-014c5cd8767161995278bc1f4e2fcfb1b703dad1.tar.gz postgresql-014c5cd8767161995278bc1f4e2fcfb1b703dad1.zip |
Add a temp-install prerequisite to "check"-like targets not having one.
Makefile.global assigns this prerequisite to every target named "check",
but similar targets must mention it explicitly. Affected targets
failed, tested $PATH binaries, or tested a stale temporary installation.
The src/test/modules examples worked properly when called as "make -C
src/test/modules/$FOO check", but "make -j" allowed the test to start
before the temporary installation was in place. Back-patch to 9.5,
where commit dcae5faccab64776376d354decda0017c648bb53 introduced the
shared temp-install.
Diffstat (limited to 'src/interfaces/ecpg/test')
-rw-r--r-- | src/interfaces/ecpg/test/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/test/Makefile b/src/interfaces/ecpg/test/Makefile index a4ac02107c8..d13742256e6 100644 --- a/src/interfaces/ecpg/test/Makefile +++ b/src/interfaces/ecpg/test/Makefile @@ -81,7 +81,7 @@ check: all $(with_temp_install) ./pg_regress $(REGRESS_OPTS) --temp-instance=./tmp_check --bindir= $(pg_regress_locale_flags) $(THREAD) --schedule=$(srcdir)/ecpg_schedule # the same options, but with --listen-on-tcp -checktcp: all +checktcp: all | temp-install $(with_temp_install) ./pg_regress $(REGRESS_OPTS) --temp-instance=./tmp_check --bindir= $(pg_regress_locale_flags) $(THREAD) --schedule=$(srcdir)/ecpg_schedule_tcp --host=localhost installcheck: all |