Re: running make check with only specified tests - Mailing list pgsql-hackers

From Tom Lane
Subject Re: running make check with only specified tests
Date
Msg-id 16259.1390766343@sss.pgh.pa.us
Whole thread Raw
In response to Re: running make check with only specified tests  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: running make check with only specified tests  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> On 01/26/2014 12:08 PM, Tom Lane wrote:
>> Also, the tests themselves don't take that long, especially in parallel
>> mode.  If you need to speed up repeated testing, it's more profitable to
>> avoid the install/initdb overhead of a "make check".  I use a small
>> script that just reinstalls the postgres executable and does "make
>> installcheck-parallel" when I'm doing iterative development.

> I have something similar, and prodded by your email I've just improved 
> it a bit ;-) But it doesn't work so well if you're changing the catalog, 
> as you need an initdb anyway.

True.  OTOH, when you're changing the catalogs it seems pretty foolish
to not run the whole test suite.

Anyway, I have no great objection to the proposed patch, I'm just dubious
that it's really worth the trouble.  If you do go through with it, I'd
suggest adding an installcheck-with variant.

In the bikeshedding department, maybe "-tests" instead of "-with"?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Marti Raudsepp
Date:
Subject: Re: PoC: Partial sort
Next
From: Tom Lane
Date:
Subject: Re: [patch] Client-only installation on Windows