pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add basic TAP test setup for pg_upgrade
3+ messages / 3 participants
[nested] [flat]

* pgsql: Add basic TAP test setup for pg_upgrade
@ 2017-09-19 22:56 Peter Eisentraut <peter_e@gmx.net>
  2017-09-20 16:18 ` Re: pgsql: Add basic TAP test setup for pg_upgrade Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: Peter Eisentraut @ 2017-09-19 22:56 UTC (permalink / raw)
  To: pgsql-committers

Add basic TAP test setup for pg_upgrade

The plan is to convert the current pg_upgrade test to the TAP
framework.  This commit just puts a basic TAP test in place so that we
can see how the build farm behaves, since the build farm client has some
special knowledge of the pg_upgrade tests.

Author: Michael Paquier <michael.paquier@gmail.com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f41e56c76e39f02bef7ba002c9de03d62b76de4d

Modified Files
--------------
src/bin/pg_upgrade/Makefile       | 7 ++++---
src/bin/pg_upgrade/t/001_basic.pl | 9 +++++++++
2 files changed, 13 insertions(+), 3 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: Add basic TAP test setup for pg_upgrade
  2017-09-19 22:56 pgsql: Add basic TAP test setup for pg_upgrade Peter Eisentraut <peter_e@gmx.net>
@ 2017-09-20 16:18 ` Tom Lane <tgl@sss.pgh.pa.us>
  2017-09-20 22:48   ` Re: [COMMITTERS] pgsql: Add basic TAP test setup for pg_upgrade Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2017-09-20 16:18 UTC (permalink / raw)
  To: Peter Eisentraut <peter_e@gmx.net>; +Cc: pgsql-committers

Peter Eisentraut <peter_e@gmx.net> writes:
> Add basic TAP test setup for pg_upgrade
> The plan is to convert the current pg_upgrade test to the TAP
> framework.  This commit just puts a basic TAP test in place so that we
> can see how the build farm behaves, since the build farm client has some
> special knowledge of the pg_upgrade tests.

I hope you're not planning to leave it like this very long.  The
pg_upgrade test is already one of the longest steps in the buildfarm
runs, and now we're doing it twice.

			regards, tom lane


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [COMMITTERS] pgsql: Add basic TAP test setup for pg_upgrade
  2017-09-19 22:56 pgsql: Add basic TAP test setup for pg_upgrade Peter Eisentraut <peter_e@gmx.net>
  2017-09-20 16:18 ` Re: pgsql: Add basic TAP test setup for pg_upgrade Tom Lane <tgl@sss.pgh.pa.us>
@ 2017-09-20 22:48   ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Peter Eisentraut @ 2017-09-20 22:48 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-hackers <pgsql-hackers@postgresql.org>; Michael Paquier <michael.paquier@gmail.com>

On 9/20/17 12:18, Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
>> Add basic TAP test setup for pg_upgrade
>> The plan is to convert the current pg_upgrade test to the TAP
>> framework.  This commit just puts a basic TAP test in place so that we
>> can see how the build farm behaves, since the build farm client has some
>> special knowledge of the pg_upgrade tests.
> 
> I hope you're not planning to leave it like this very long.  The
> pg_upgrade test is already one of the longest steps in the buildfarm
> runs, and now we're doing it twice.

Oh I see what is happening now.  The buildfarm code looks for "t"
directories and runs tests there, and is at the same time hardcoded to
run check in the pg_upgrade directory.

So this will apparently require a buildfarm client code update after all.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2017-09-20 22:48 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-09-19 22:56 pgsql: Add basic TAP test setup for pg_upgrade Peter Eisentraut <peter_e@gmx.net>
2017-09-20 16:18 ` Tom Lane <tgl@sss.pgh.pa.us>
2017-09-20 22:48   ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox