Re-add "make check" target in src/test/isolation/Makefile
authorPeter Eisentraut
Fri, 2 Mar 2012 20:09:10 +0000 (22:09 +0200)
committerPeter Eisentraut
Fri, 2 Mar 2012 20:11:57 +0000 (22:11 +0200)
This effectively reverts 7886cc73ad12fb9b5a729b6c8152f11a309f5d65,
which was done under the impression that isolationtester needs libpq,
which it no longer does (and never really did).

src/test/isolation/Makefile

index 0278ecb21fd326420ac972c23c3a0daa1bd9c800..74baed52f0a35b2526e99a9db72afd0a7df03a35 100644 (file)
@@ -70,10 +70,5 @@ maintainer-clean: distclean
 installcheck: all
    ./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
-# 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."
+check: all
+   ./pg_isolation_regress --temp-install=./tmp_check --inputdir=$(srcdir) --top-builddir=$(top_builddir) --schedule=$(srcdir)/isolation_schedule