Re: [HACKERS] running make check with only specified tests

2014-01-26 Thread Alvaro Herrera
Tom Lane wrote: > 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"? No objection

Re: [HACKERS] running make check with only specified tests

2014-01-26 Thread Tom Lane
Andrew Dunstan 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 t

Re: [HACKERS] running make check with only specified tests

2014-01-26 Thread Andrew Dunstan
On 01/26/2014 12:08 PM, Tom Lane wrote: Andrew Dunstan writes: I've often wanted to be able to run "make check" and just have it run the small number of tests I am interested in. Here's a tiny patch along those lines. It creates a new targe which I have called "check-with" for want of a better

Re: [HACKERS] running make check with only specified tests

2014-01-26 Thread Tom Lane
Andrew Dunstan writes: > I've often wanted to be able to run "make check" and just have it run > the small number of tests I am interested in. Here's a tiny patch along > those lines. It creates a new targe which I have called "check-with" for > want of a better name. And with it I can do: >

Re: [HACKERS] running make check with only specified tests

2014-01-26 Thread Andrew Dunstan
On 01/26/2014 12:01 PM, Florian Pflug wrote: On Jan26, 2014, at 17:47 , Andrew Dunstan wrote: I've often wanted to be able to run "make check" and just have it run the small number of tests I am interested in. Here's a tiny patch along those lines. It creates a new targe which I have called

Re: [HACKERS] running make check with only specified tests

2014-01-26 Thread Florian Pflug
On Jan26, 2014, at 17:47 , Andrew Dunstan wrote: > I've often wanted to be able to run "make check" and just have it run the > small number of tests I am interested in. Here's a tiny patch along those > lines. It creates a new targe which I have called "check-with" for want of a > better name.

Re: [HACKERS] running make check with only specified tests

2014-01-26 Thread Pavel Stehule
2014-01-26 Andrew Dunstan > > I've often wanted to be able to run "make check" and just have it run the > small number of tests I am interested in. Here's a tiny patch along those > lines. It creates a new targe which I have called "check-with" for want of > a better name. And with it I can do: >

[HACKERS] running make check with only specified tests

2014-01-26 Thread Andrew Dunstan
I've often wanted to be able to run "make check" and just have it run the small number of tests I am interested in. Here's a tiny patch along those lines. It creates a new targe which I have called "check-with" for want of a better name. And with it I can do: $ make check-with TESTS="json