diff options
author | Tom Lane | 2011-05-09 15:00:30 +0000 |
---|---|---|
committer | Tom Lane | 2011-05-09 15:00:30 +0000 |
commit | 7886cc73ad12fb9b5a729b6c8152f11a309f5d65 (patch) | |
tree | 60cf9b22085e5105fc515de8b7183f0d98ac927c /src/test | |
parent | 78318d63d7613ca9fe2206c717c7ccb400038db6 (diff) |
Remove "make check" target in src/test/isolation/Makefile.
This doesn't work as expected because the isolationtester program requires
libpq to already be installed. While it works when you've already installed
libpq, having to already have done "make install" defeats most of the point
of a check with a temp installation. And there are weird corner cases if
the dynamic linker picks up an old libpq.so from system library directories.
Remove the target (or more precisely, make it print a helpful message) so
people don't expect the case to work.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/isolation/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/test/isolation/Makefile b/src/test/isolation/Makefile index c027c29ab76..6513b5f24ed 100644 --- a/src/test/isolation/Makefile +++ b/src/test/isolation/Makefile @@ -72,5 +72,10 @@ maintainer-clean: distclean installcheck: all ./pg_isolation_regress --inputdir=$(srcdir) --schedule=$(srcdir)/isolation_schedule -check: all - ./pg_isolation_regress --temp-install=./tmp_check --inputdir=$(srcdir) --top-builddir=$(top_builddir) --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 +# already be installed. You could run "make install" and then run a check +# using a temp installation, but there seems little point in that. +check: + @echo "'make check' is not supported." + @echo "Install PostgreSQL, then 'make installcheck' instead." |