build: pass EXTRA_REGRESS_OPTS to secondary regression tests
Christoph Berg
This commit is contained in:
parent
5043fc8251
commit
86ef4796f5
@ -25,7 +25,7 @@ include $(top_srcdir)/contrib/contrib-global.mk
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
check: test.sh all
|
check: test.sh all
|
||||||
MAKE=$(MAKE) bindir=$(bindir) libdir=$(libdir) $(SHELL) $< --install
|
MAKE=$(MAKE) bindir=$(bindir) libdir=$(libdir) EXTRA_REGRESS_OPTS="$(EXTRA_REGRESS_OPTS)" $(SHELL) $< --install
|
||||||
|
|
||||||
# disabled because it upsets the build farm
|
# disabled because it upsets the build farm
|
||||||
#installcheck: test.sh
|
#installcheck: test.sh
|
||||||
|
@ -458,8 +458,8 @@ endif
|
|||||||
|
|
||||||
pg_regress_locale_flags = $(if $(ENCODING),--encoding=$(ENCODING)) $(NOLOCALE)
|
pg_regress_locale_flags = $(if $(ENCODING),--encoding=$(ENCODING)) $(NOLOCALE)
|
||||||
|
|
||||||
pg_regress_check = $(top_builddir)/src/test/regress/pg_regress --inputdir=$(srcdir) --temp-install=./tmp_check --top-builddir=$(top_builddir) $(pg_regress_locale_flags)
|
pg_regress_check = $(top_builddir)/src/test/regress/pg_regress --inputdir=$(srcdir) --temp-install=./tmp_check --top-builddir=$(top_builddir) $(pg_regress_locale_flags) $(EXTRA_REGRESS_OPTS)
|
||||||
pg_regress_installcheck = $(top_builddir)/src/test/regress/pg_regress --inputdir=$(srcdir) --psqldir='$(PSQLDIR)' $(pg_regress_locale_flags)
|
pg_regress_installcheck = $(top_builddir)/src/test/regress/pg_regress --inputdir=$(srcdir) --psqldir='$(PSQLDIR)' $(pg_regress_locale_flags) $(EXTRA_REGRESS_OPTS)
|
||||||
|
|
||||||
pg_regress_clean_files = results/ regression.diffs regression.out tmp_check/ log/
|
pg_regress_clean_files = results/ regression.diffs regression.out tmp_check/ log/
|
||||||
|
|
||||||
|
@ -52,17 +52,17 @@ maintainer-clean: distclean
|
|||||||
rm -f specparse.c specscanner.c
|
rm -f specparse.c specscanner.c
|
||||||
|
|
||||||
installcheck: all
|
installcheck: all
|
||||||
./pg_isolation_regress --psqldir='$(PSQLDIR)' --inputdir=$(srcdir) --schedule=$(srcdir)/isolation_schedule
|
./pg_isolation_regress --psqldir='$(PSQLDIR)' $(EXTRA_REGRESS_OPTS) --inputdir=$(srcdir) --schedule=$(srcdir)/isolation_schedule
|
||||||
|
|
||||||
check: all
|
check: all
|
||||||
./pg_isolation_regress --temp-install=./tmp_check --inputdir=$(srcdir) --top-builddir=$(top_builddir) --schedule=$(srcdir)/isolation_schedule
|
./pg_isolation_regress --temp-install=./tmp_check --inputdir=$(srcdir) --top-builddir=$(top_builddir) $(EXTRA_REGRESS_OPTS) --schedule=$(srcdir)/isolation_schedule
|
||||||
|
|
||||||
# Versions of the check tests that include the prepared_transactions test
|
# Versions of the check tests that include the prepared_transactions test
|
||||||
# It only makes sense to run these if set up to use prepared transactions,
|
# It only makes sense to run these if set up to use prepared transactions,
|
||||||
# via TEMP_CONFIG for the check case, or via the postgresql.conf for the
|
# via TEMP_CONFIG for the check case, or via the postgresql.conf for the
|
||||||
# installcheck case.
|
# installcheck case.
|
||||||
installcheck-prepared-txns: all
|
installcheck-prepared-txns: all
|
||||||
./pg_isolation_regress --psqldir='$(PSQLDIR)' --inputdir=$(srcdir) --schedule=$(srcdir)/isolation_schedule prepared-transactions
|
./pg_isolation_regress --psqldir='$(PSQLDIR)' $(EXTRA_REGRESS_OPTS) --inputdir=$(srcdir) --schedule=$(srcdir)/isolation_schedule prepared-transactions
|
||||||
|
|
||||||
check-prepared-txns: all
|
check-prepared-txns: all
|
||||||
./pg_isolation_regress --temp-install=./tmp_check --inputdir=$(srcdir) --top-builddir=$(top_builddir) --schedule=$(srcdir)/isolation_schedule prepared-transactions
|
./pg_isolation_regress --temp-install=./tmp_check $(EXTRA_REGRESS_OPTS) --inputdir=$(srcdir) --top-builddir=$(top_builddir) --schedule=$(srcdir)/isolation_schedule prepared-transactions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user