From: Peter Eisentraut Date: Fri, 22 Sep 2017 20:34:46 +0000 (-0400) Subject: Revert "Add basic TAP test setup for pg_upgrade" X-Git-Tag: REL_11_BETA1~1522 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=58ffe141eb37c3f027acd25c1fc6b36513bf9380;p=postgresql.git Revert "Add basic TAP test setup for pg_upgrade" This reverts commit f41e56c76e39f02bef7ba002c9de03d62b76de4d. The build farm client would run the pg_upgrade tests twice, once as part of the existing pg_upgrade check run and once as part of picking up all TAP tests by looking for "t" directories. Since the pg_upgrade tests are pretty slow, we will need a better solution or possibly a build farm client change before we can proceed with this. --- diff --git a/src/bin/pg_upgrade/Makefile b/src/bin/pg_upgrade/Makefile index e5c98596a1a..1d6ee702c6e 100644 --- a/src/bin/pg_upgrade/Makefile +++ b/src/bin/pg_upgrade/Makefile @@ -36,9 +36,8 @@ clean distclean maintainer-clean: pg_upgrade_dump_globals.sql \ pg_upgrade_dump_*.custom pg_upgrade_*.log -check: test.sh - $(prove_check) +check: test.sh all MAKE=$(MAKE) bindir=$(bindir) libdir=$(libdir) EXTRA_REGRESS_OPTS="$(EXTRA_REGRESS_OPTS)" $(SHELL) $< --install -installcheck: - $(prove_installcheck) +# installcheck is not supported because there's no meaningful way to test +# pg_upgrade against a single already-running server diff --git a/src/bin/pg_upgrade/t/001_basic.pl b/src/bin/pg_upgrade/t/001_basic.pl deleted file mode 100644 index 605a7f622f2..00000000000 --- a/src/bin/pg_upgrade/t/001_basic.pl +++ /dev/null @@ -1,9 +0,0 @@ -use strict; -use warnings; - -use TestLib; -use Test::More tests => 8; - -program_help_ok('pg_upgrade'); -program_version_ok('pg_upgrade'); -program_options_handling_ok('pg_upgrade');