xlogreader.c: % : $(top_srcdir)/src/backend/access/transam/%
rm -f $@ && $(LN_S) $< .
+# The regression tests can be run separately against, using the libpq or local
+# method to copy the files. For local mode, the makefile target is
+# "check-local", and for libpq mode, "check-remote". The target check-both
+# runs the tests in both modes.
check-local:
echo "Running tests against local data directory, in copy-mode"
bindir=$(bindir) TEST_SUITE="local" $(MAKE) installcheck
# to run psql against the master and standby servers, to cause the servers
# to diverge.
+PATH=$bindir:$PATH
+export PATH
+
# Initialize master, data checksums are mandatory
rm -rf $TEST_MASTER
initdb -N -A trust -D $TEST_MASTER >>$log_path