Skip to content

Commit 4cd5d8a

Browse files
committed
Add post-2010 ecpg tests to checktcp.
This suite had been a proper superset of the regular ecpg test suite, but the three newest tests didn't reach it. To make this less likely to recur, delete the extra schedule file and pass the TCP-specific test on the command line. Back-patch to 9.3 (all supported versions).
1 parent ad21f34 commit 4cd5d8a

File tree

2 files changed

+2
-57
lines changed

2 files changed

+2
-57
lines changed

src/interfaces/ecpg/test/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ REGRESS_OPTS = --dbname=regress1,connectdb --create-role=connectuser,connectdb $
8181
check: all
8282
./pg_regress $(REGRESS_OPTS) --top-builddir=$(top_builddir) --temp-install=./tmp_check $(pg_regress_locale_flags) $(THREAD) --schedule=$(srcdir)/ecpg_schedule
8383

84-
# the same options, but with --listen-on-tcp
84+
# Connect to the server using TCP, and add a TCP-specific test.
8585
checktcp: all
86-
./pg_regress $(REGRESS_OPTS) --top-builddir=$(top_builddir) --temp-install=./tmp_check $(pg_regress_locale_flags) $(THREAD) --schedule=$(srcdir)/ecpg_schedule_tcp --host=localhost
86+
./pg_regress $(REGRESS_OPTS) --top-builddir=$(top_builddir) --temp-install=./tmp_check $(pg_regress_locale_flags) $(THREAD) --schedule=$(srcdir)/ecpg_schedule --host=localhost connect/test1
8787

8888
installcheck: all
8989
./pg_regress $(REGRESS_OPTS) --psqldir='$(PSQLDIR)' --top-builddir=$(top_builddir) $(pg_regress_locale_flags) $(THREAD) --schedule=$(srcdir)/ecpg_schedule

src/interfaces/ecpg/test/ecpg_schedule_tcp

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)