aboutsummaryrefslogtreecommitdiff
path: root/src/test/modules/test_slru/Makefile
blob: fe4e739043792ee6c875f2e7099f10fedfabf22b (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
# src/test/modules/test_slru/Makefile

MODULE_big = test_slru
OBJS = \
	$(WIN32RES) \
	test_slru.o \
	test_multixact.o
PGFILEDESC = "test_slru - test module for SLRUs"

EXTRA_INSTALL=src/test/modules/injection_points
export enable_injection_points
TAP_TESTS = 1

EXTENSION = test_slru
DATA = test_slru--1.0.sql

REGRESS_OPTS = --temp-config $(top_srcdir)/src/test/modules/test_slru/test_slru.conf
REGRESS = test_slru
# Disabled because these tests require "shared_preload_libraries=test_slru",
# which typical installcheck users do not have (e.g. buildfarm clients).
NO_INSTALLCHECK = 1

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