# src/test/modules/test_cfs/Makefile
|
|
MODULE_big = test_cfs
|
OBJS = \
|
$(WIN32RES) \
|
test_cfs.o
|
PGFILEDESC = "test_cfs - test code for Compressed File Store (CFS)"
|
|
EXTENSION = test_cfs
|
DATA = test_cfs--1.0.sql
|
|
REGRESS = cfs_codec cfs_format cfs_storage cfs_shmem cfs_reloptions cfs_smgr cfs_segments \
|
cfs_create_table cfs_create_table_like cfs_indirect_toast cfs_indexing cfs_alter_table cfs_reloptions_core cfs_policy_defaults cfs_tablespace \
|
cfs_cluster cfs_matview cfs_truncate cfs_vacuum cfs_brin cfs_brin_bloom cfs_brin_multi cfs_gin cfs_gist cfs_hash_index cfs_insert cfs_update \
|
cfs_generated_stored cfs_vacuum_parallel cfs_pageinspect_page cfs_pageinspect_brin \
|
cfs_amcheck_btree cfs_amcheck_gin cfs_amcheck_heap cfs_pageinspect_btree cfs_pageinspect_gin \
|
cfs_pageinspect_gist cfs_pageinspect_hash cfs_checkpoint_lazy cfs_read_batch \
|
cfs_read_scratch cfs_stats cfs_page_checksum cfs_io_error cfs_index_policy
|
|
REGRESS_OPTS = --dlpath=$(top_builddir)/src/test/regress
|
|
# cfs_create_table.sql evicts CFS relations from shared_buffers via
|
# pg_buffercache_evict_relation() to force verification reads back through
|
# smgrread()/CFS decompression, rather than a shared-buffers cache hit.
|
# The cfs_pageinspect_* tests use contrib/pageinspect as a byte-level
|
# oracle for decompressed pages.
|
# cfs_indirect_toast.sql uses make_tuple_indirect() from the regress shared
|
# library (src/test/regress/regress.so) to force indirect TOAST pointers.
|
# cfs_amcheck_* tests use contrib/amcheck as a structural corruption oracle.
|
# t/015_cfs_prewarm.pl prewarms through pg_prewarm.
|
EXTRA_INSTALL = contrib/pg_buffercache contrib/pageinspect contrib/amcheck \
|
contrib/pg_prewarm \
|
src/test/modules/injection_points
|
|
TAP_TESTS = 1
|
|
ifdef USE_PGXS
|
PG_CONFIG = pg_config
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
include $(PGXS)
|
else
|
subdir = src/test/modules/test_cfs
|
top_builddir = ../../../..
|
include $(top_builddir)/src/Makefile.global
|
include $(top_srcdir)/contrib/contrib-global.mk
|
endif
|
|
# t/005_cfs_mapload_race.pl attaches injection points; the TAP script skips
|
# unless this flag says the build supports them.
|
export enable_injection_points
|