File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -78,11 +78,22 @@ endif
78
78
REGRESS_OPTS = --dbname=ecpg1_regression,ecpg2_regression --create-role=regress_ecpg_user1,regress_ecpg_user2 $(EXTRA_REGRESS_OPTS )
79
79
80
80
check : all
81
- $(with_temp_install ) ./pg_regress $(REGRESS_OPTS ) --temp-instance=./tmp_check $(TEMP_CONF ) --bindir= $(pg_regress_locale_flags ) $(THREAD ) --schedule=$(srcdir ) /ecpg_schedule
81
+ $(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
82
82
83
83
# the same options, but with --listen-on-tcp
84
84
checktcp : all
85
85
$(with_temp_install ) ./pg_regress $(REGRESS_OPTS ) --temp-instance=./tmp_check $(TEMP_CONF ) --bindir= $(pg_regress_locale_flags ) $(THREAD ) --schedule=$(srcdir ) /ecpg_schedule_tcp --host=localhost
86
86
87
87
installcheck : all
88
88
./pg_regress $(REGRESS_OPTS ) --bindir=' $(bindir)' $(pg_regress_locale_flags ) $(THREAD ) --schedule=$(srcdir ) /ecpg_schedule
89
+
90
+ # Versions of the check tests that include the twophase commit test.
91
+ # It only makes sense to run these if set up to use prepared transactions,
92
+ # via TEMP_CONFIG for the check case, or via the postgresql.conf for the
93
+ # installcheck case.
94
+
95
+ installcheck-prepared-txns : all
96
+ ./pg_regress $(REGRESS_OPTS ) --bindir=' $(bindir)' $(pg_regress_locale_flags ) $(THREAD ) --schedule=$(srcdir ) /ecpg_schedule sql/twophase
97
+
98
+ check-prepared-txns : all
99
+ $(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
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ test: sql/indicators
46
46
test: sql/oldexec
47
47
test: sql/quote
48
48
test: sql/show
49
- test: sql/twophase
50
49
test: sql/insupd
51
50
test: sql/parser
52
51
test: thread/thread
You can’t perform that action at this time.
0 commit comments