8000 Add post-2010 ecpg tests to checktcp. · koderP/postgres@ef73c35 · GitHub
[go: up one dir, main page]

Skip to content

Commit ef73c35

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 8dc9462 commit ef73c35

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
@@ -80,9 +80,9 @@ REGRESS_OPTS = --dbname=regress1,connectdb --create-role=connectuser,connectdb $
8080
check: all
8181
$(with_temp_install) ./pg_regress $(REGRESS_OPTS) --temp-instance=./tmp_check --bindir= $(pg_regress_locale_flags) $(THREAD) --schedule=$(srcdir)/ecpg_schedule
8282

83-
# the same options, but with --listen-on-tcp
83+
# Connect to the server using TCP, and add a TCP-specific test.
8484
checktcp: all | temp-install
85-
$(with_temp_install) ./pg_regress $(REGRESS_OPTS) --temp-instance=./tmp_check --bindir= $(pg_regress_locale_flags) $(THREAD) --schedule=$(srcdir)/ecpg_schedule_tcp --host=localhost
85+
$(with_temp_install) ./pg_regress $(REGRESS_OPTS) --temp-instance=./tmp_check --bindir= $(pg_regress_locale_flags) $(THREAD) --schedule=$(srcdir)/ecpg_schedule --host=localhost connect/test1
8686

8787
installcheck: all
8888
./pg_regress $(REGRESS_OPTS) --bindir='$(bindir)' $(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)
0