Re: tests for client programs

From: "Erik Rijkers" <er(at)xs4all(dot)nl>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>
Cc: "pgsql-hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: tests for client programs
Date: 2014-01-15 06:46:28
Message-ID: 9b54bdd8a119b3cbc726fa4a82110024.squirrel@webmail.xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, January 15, 2014 06:30, Peter Eisentraut wrote:
> As we all know, the client programs (src/bin/) don't have any real test
> suites. Some pieces are tested as part of the backend regression tests,
> some as part of the pg_upgrade test script, but nothing is specifically
> targeted, and pg_basebackup for example is not tested at all.
>
> So I wrote something.
>
> I chose to use Perl-based tools, prove and Test::More, because those are
> available in a standard Perl installation, and we already require that.
>

> [ 0001-Add-TAP-tests-for-client-programs.patch ]

With perl 5.18.2, in centos 6.5; system provided perl 5.10 has the same problem.

The seems to be a dependency on IPC::Run

I can install that, of course... but I suppose you want to make this work without that.

Thanks,

Erik Rijkers

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Nasby 2014-01-15 06:46:52 Re: Extending BASE_BACKUP in replication protocol: incremental backup and backup format
Previous Message Tom Lane 2014-01-15 06:35:46 Re: plpgsql.consistent_into