-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathMakefile
34 lines (27 loc) · 1.12 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# contrib/wal2mongo/Makefile
MODULES = wal2mongo
PGFILEDESC = "wal2mongo - a logical decoding output plugin for MongoDB"
REGRESS = binary actions transaction boolean numeric binData timestamptz \
array json string xml identity pkey specval
#ISOLATION = mxact delayed_startup ondisk_startup concurrent_ddl_dml \
oldest_xmin snapshot_transfer
REGRESS_OPTS = --temp-config $(top_srcdir)/contrib/wal2mongo/logical.conf
#ISOLATION_OPTS = --temp-config $(top_srcdir)/contrib/wal2mongo/logical.conf
# Disabled because these tests require "wal_level=logical", which
# typical installcheck users do not have (e.g. buildfarm clients).
NO_INSTALLCHECK = 0
ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = contrib/wal2mongo
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif
# But it can nonetheless be very helpful to run tests on preexisting
# installation, allow to do so, but only if requested explicitly.
installcheck-force:
$(pg_regress_installcheck) $(REGRESS)
#$(pg_isolation_regress_installcheck) $(ISOLATION)