Make check-prepared-txns use temp-install binaries.
authorNoah Misch <[email protected]>
Sat, 23 Jan 2021 22:09:59 +0000 (14:09 -0800)
committerNoah Misch <[email protected]>
Sat, 23 Jan 2021 22:13:26 +0000 (14:13 -0800)
It tested the installed binaries.  This fixes 9.6 and 9.5 to follow
later versions and "make -C src/test/isolation check" in this respect.

src/test/isolation/Makefile

index 7595ede53259476e482506a80b8ea67ac27a39c2..1798288b1e71e9d9558bb6285ee47e7316ec9367 100644 (file)
@@ -56,4 +56,4 @@ installcheck-prepared-txns: all temp-install
    ./pg_isolation_regress --bindir='$(bindir)' $(EXTRA_REGRESS_OPTS) --inputdir=$(srcdir) --schedule=$(srcdir)/isolation_schedule prepared-transactions
 
 check-prepared-txns: all temp-install
-   ./pg_isolation_regress --temp-instance=./tmp_check $(EXTRA_REGRESS_OPTS) --inputdir=$(srcdir) --schedule=$(srcdir)/isolation_schedule prepared-transactions
+   $(with_temp_install) ./pg_isolation_regress --temp-instance=./tmp_check --inputdir=$(srcdir) --bindir= $(EXTRA_REGRESS_OPTS) --schedule=$(srcdir)/isolation_schedule prepared-transactions