From: Andrew Dunstan Date: Sun, 22 May 2011 21:58:26 +0000 (-0400) Subject: Use the right pgsql for isolation tests. X-Git-Tag: REL9_1_BETA2~90 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b08ddf8c761cd596c4664dde1125f38a8757756f;p=postgresql Use the right pgsql for isolation tests. --- diff --git a/src/test/isolation/Makefile b/src/test/isolation/Makefile index 6513b5f24e..7cbcd4b403 100644 --- a/src/test/isolation/Makefile +++ b/src/test/isolation/Makefile @@ -6,6 +6,9 @@ subdir = src/test/isolation top_builddir = ../../.. include $(top_builddir)/src/Makefile.global +# where to find psql for testing an existing installation +PSQLDIR = $(bindir) + ifeq ($(PORTNAME), win32) LDLIBS += -lws2_32 endif @@ -70,7 +73,7 @@ maintainer-clean: distclean rm -f specparse.c specscanner.c installcheck: all - ./pg_isolation_regress --inputdir=$(srcdir) --schedule=$(srcdir)/isolation_schedule + ./pg_isolation_regress --psqldir=$(PSQLDIR) --inputdir=$(srcdir) --schedule=$(srcdir)/isolation_schedule # We can't support "make check" because isolationtester requires libpq, and # in fact (on typical platforms using shared libraries) requires libpq to