Re: pgsql: Improve speed of make check-world

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-committers(at)postgresql(dot)org, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Subject: Re: pgsql: Improve speed of make check-world
Date: 2015-04-23 18:47:50
Message-ID: 55393E56.7020508@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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(dot)paquier(at)gmail(dot)com>
>
> more review by Fabien Coelho <coelho(at)cri(dot)ensmp(dot)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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Christian Ullrich 2015-04-24 01:12:02 Re: [committers] pgsql: RLS fixes, new hooks, and new test module
Previous Message Heikki Linnakangas 2015-04-23 18:40:56 pgsql: Fix deadlock at startup, if max_prepared_transactions is too sma