aboutsummaryrefslogtreecommitdiff
path: root/src/test/modules/brin/Makefile
blob: 566655cd61d5946e3b3c6f3fbcc38d0b8a1d91c5 (plain)
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
35
36
# src/test/modules/brin/Makefile

# Note: because we don't tell the Makefile there are any regression tests,
# we have to clean those result files explicitly
EXTRA_CLEAN = $(pg_regress_clean_files) ./isolation_output

EXTRA_INSTALL=contrib/pageinspect

ISOLATIONCHECKS=summarization-and-inprogress-insertion

ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = src/test/modules/brin
top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif

check: isolation-check prove-check

isolation-check: | submake-isolation temp-install
	$(MKDIR_P) isolation_output
	$(pg_isolation_regress_check) \
	    --outputdir=./isolation_output \
	    $(ISOLATIONCHECKS)

prove-check: | temp-install
	$(prove_check)

.PHONY: check isolation-check prove-check

submake-isolation:
	$(MAKE) -C $(top_builddir)/src/test/isolation all