mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-18 04:17:00 +08:00
The Meson builds have PG_TEST_EXTRA as a configure-time variable,
which was not available in the Make builds. To ensure both build
systems are in sync, PG_TEST_EXTRA is now added as a configure-time
variable. It can be set like this:
./configure PG_TEST_EXTRA="kerberos, ssl, ..."
Note that to preserve the old behavior, this configure-time variable
is overridden by the PG_TEST_EXTRA environment variable when you run
the tests.
Author: Jacob Champion
Reviewed by: Ashutosh Bapat, Nazir Bilal Yavuz
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile for src/test
|
|
#
|
|
# Copyright (c) 1994, Regents of the University of California
|
|
#
|
|
# src/test/Makefile
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
subdir = src/test
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
SUBDIRS = perl postmaster regress isolation modules authentication recovery subscription
|
|
|
|
ifeq ($(with_icu),yes)
|
|
SUBDIRS += icu
|
|
endif
|
|
ifeq ($(with_gssapi),yes)
|
|
SUBDIRS += kerberos
|
|
endif
|
|
ifeq ($(with_ldap),yes)
|
|
SUBDIRS += ldap
|
|
endif
|
|
ifeq ($(with_ssl),openssl)
|
|
SUBDIRS += ssl
|
|
endif
|
|
|
|
# We don't build or execute these by default, but we do want "make
|
|
# clean" etc to recurse into them. (We must filter out those that we
|
|
# have conditionally included into SUBDIRS above, else there will be
|
|
# make confusion.)
|
|
ALWAYS_SUBDIRS = $(filter-out $(SUBDIRS),examples kerberos icu ldap ssl)
|
|
|
|
# We want to recurse to all subdirs for all standard targets, except that
|
|
# installcheck and install should not recurse into the subdirectory "modules".
|
|
|
|
recurse_alldirs_targets := $(filter-out installcheck install, $(standard_targets))
|
|
installable_dirs := $(filter-out modules, $(SUBDIRS))
|
|
|
|
$(call recurse,$(recurse_alldirs_targets))
|
|
$(call recurse,installcheck, $(installable_dirs))
|
|
$(call recurse,install, $(installable_dirs))
|
|
|
|
$(recurse_always)
|