mirror of https://github.com/postgres/postgres
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.4 KiB
50 lines
1.4 KiB
# src/test/modules/injection_points/Makefile
|
|
|
|
MODULE_big = injection_points
|
|
OBJS = \
|
|
$(WIN32RES) \
|
|
injection_points.o \
|
|
regress_injection.o
|
|
EXTENSION = injection_points
|
|
DATA = injection_points--1.0.sql
|
|
PGFILEDESC = "injection_points - facility for injection points"
|
|
|
|
REGRESS = injection_points hashagg reindex_conc vacuum
|
|
REGRESS_OPTS = --dlpath=$(top_builddir)/src/test/regress
|
|
|
|
ISOLATION = basic \
|
|
inplace \
|
|
syscache-update-pruned \
|
|
index-concurrently-upsert \
|
|
index-concurrently-upsert-predicate \
|
|
reindex-concurrently-upsert \
|
|
reindex-concurrently-upsert-on-constraint \
|
|
reindex-concurrently-upsert-partitioned
|
|
|
|
# The injection points are cluster-wide, so disable installcheck
|
|
NO_INSTALLCHECK = 1
|
|
|
|
export enable_injection_points
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = src/test/modules/injection_points
|
|
top_builddir = ../../../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
# XXX: This test is conditional on enable_injection_points in the
|
|
# parent Makefile, so we should never get here in the first place if
|
|
# injection points are not enabled. But the buildfarm 'misc-check'
|
|
# step doesn't pay attention to the if-condition in the parent
|
|
# Makefile. To work around that, disable running the test here too.
|
|
ifeq ($(enable_injection_points),yes)
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
else
|
|
check:
|
|
@echo "injection points are disabled in this build"
|
|
endif
|
|
|
|
endif
|
|
|