mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Fix schedule of ecpg test files to only try two-phase commit test when possible.
This commit is contained in:
@ -78,7 +78,7 @@ endif
|
|||||||
REGRESS_OPTS = --dbname=ecpg1_regression,ecpg2_regression --create-role=regress_ecpg_user1,regress_ecpg_user2 $(EXTRA_REGRESS_OPTS)
|
REGRESS_OPTS = --dbname=ecpg1_regression,ecpg2_regression --create-role=regress_ecpg_user1,regress_ecpg_user2 $(EXTRA_REGRESS_OPTS)
|
||||||
|
|
||||||
check: all
|
check: all
|
||||||
$(with_temp_install) ./pg_regress $(REGRESS_OPTS) --temp-instance=./tmp_check $(TEMP_CONF) --bindir= $(pg_regress_locale_flags) $(THREAD) --schedule=$(srcdir)/ecpg_schedule
|
$(with_temp_install) ./pg_regress $(REGRESS_OPTS) --temp-instance=./tmp_check $(TEMP_CONF) --bindir= $(pg_regress_locale_flags) $(THREAD) --schedule=$(srcdir)/ecpg_schedule sql/twophase
|
||||||
|
|
||||||
# the same options, but with --listen-on-tcp
|
# the same options, but with --listen-on-tcp
|
||||||
checktcp: all
|
checktcp: all
|
||||||
@ -86,3 +86,14 @@ checktcp: all
|
|||||||
|
|
||||||
installcheck: all
|
installcheck: all
|
||||||
./pg_regress $(REGRESS_OPTS) --bindir='$(bindir)' $(pg_regress_locale_flags) $(THREAD) --schedule=$(srcdir)/ecpg_schedule
|
./pg_regress $(REGRESS_OPTS) --bindir='$(bindir)' $(pg_regress_locale_flags) $(THREAD) --schedule=$(srcdir)/ecpg_schedule
|
||||||
|
|
||||||
|
# Versions of the check tests that include the twophase commit test.
|
||||||
|
# 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
|
||||||
|
# installcheck case.
|
||||||
|
|
||||||
|
installcheck-prepared-txns: all
|
||||||
|
./pg_regress $(REGRESS_OPTS) --bindir='$(bindir)' $(pg_regress_locale_flags) $(THREAD) --schedule=$(srcdir)/ecpg_schedule sql/twophase
|
||||||
|
|
||||||
|
check-prepared-txns: all
|
||||||
|
$(with_temp_install) ./pg_regress $(REGRESS_OPTS) --temp-instance=./tmp_check $(TEMP_CONF) --bindir= $(pg_regress_locale_flags) $(THREAD) --schedule=$(srcdir)/ecpg_schedule sql/twophase
|
||||||
|
@ -46,7 +46,6 @@ test: sql/indicators
|
|||||||
test: sql/oldexec
|
test: sql/oldexec
|
||||||
test: sql/quote
|
test: sql/quote
|
||||||
test: sql/show
|
test: sql/show
|
||||||
test: sql/twophase
|
|
||||||
test: sql/insupd
|
test: sql/insupd
|
||||||
test: sql/parser
|
test: sql/parser
|
||||||
test: thread/thread
|
test: thread/thread
|
||||||
|
Reference in New Issue
Block a user