mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Provide NO_INSTALLCHECK option for pgxs.
This allows us to avoid running the regression tests in contrib modules like pg_stat_statement in a less ugly manner. Discussion: <22432.1478968242@sss.pgh.pa.us>
This commit is contained in:
@ -40,6 +40,8 @@
|
||||
# which need to be built first
|
||||
# REGRESS -- list of regression test cases (without suffix)
|
||||
# REGRESS_OPTS -- additional switches to pass to pg_regress
|
||||
# NO_INSTALLCHECK -- don't define an installcheck target, useful e.g. if
|
||||
# tests require special configuration, or don't use pg_regress
|
||||
# EXTRA_CLEAN -- extra files to remove in 'make clean'
|
||||
# PG_CPPFLAGS -- will be added to CPPFLAGS
|
||||
# PG_LIBS -- will be added to PROGRAM link line
|
||||
@ -268,8 +270,10 @@ ifndef PGXS
|
||||
endif
|
||||
|
||||
# against installed postmaster
|
||||
ifndef NO_INSTALLCHECK
|
||||
installcheck: submake $(REGRESS_PREP)
|
||||
$(pg_regress_installcheck) $(REGRESS_OPTS) $(REGRESS)
|
||||
endif
|
||||
|
||||
ifdef PGXS
|
||||
check:
|
||||
|
Reference in New Issue
Block a user