From: Andrew Dunstan <andrew@dunslane.net>
To: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
To: Michael Paquier <michael.paquier@gmail.com>
Subject: Re: pgsql: Improve speed of make check-world
Date: Thu, 23 Apr 2015 14:47:50 -0400
Message-ID: <55393E56.7020508@dunslane.net> (raw)
In-Reply-To: <E1YlHqq-000714-QG@gemulon.postgresql.org>
References: <E1YlHqq-000714-QG@gemulon.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On 04/23/2015 10:11 AM, Peter Eisentraut wrote:
> Improve speed of make check-world
>
> Before, make check-world would create a new temporary installation for
> each test suite, which is slow and wasteful. Instead, we now create one
> test installation that is used by all test suites that are part of a
> make run.
>
> The management of the temporary installation is removed from pg_regress
> and handled in the makefiles. This allows for better control, and
> unifies the code with that of test suites not run through pg_regress.
>
> review and msvc support by Michael Paquier <michael.paquier@gmail.com>
>
> more review by Fabien Coelho <coelho@cri.ensmp.fr>
This has caused some buildfarm breakage, in the module that runs the
collate.linux.utf8 test.
Currently it is coded to run like this:
my @checklog;
my $cmd ="./pg_regress --psqldir=$installdir/bin --dlpath=. "
."$inputdir --port=$buildport collate.linux.utf8";
@checklog = `cd $pgsql/src/test/regress && $cmd 2>&1`;
and the error it now gets is:
./pg_regress: unrecognized option '--psqldir=/home/bf/bfr/root/HEAD/inst/bin'
TBH I'm not 100% convinced that removing the ability to have pg_regress
handle temprary installation management is a good thing.
cheers
andrew
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andrew@dunslane.net, peter_e@gmx.net, michael.paquier@gmail.com
Subject: Re: pgsql: Improve speed of make check-world
In-Reply-To: <55393E56.7020508@dunslane.net>
References: <E1YlHqq-000714-QG@gemulon.postgresql.org> <55393E56.7020508@dunslane.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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