Re: running make check with only specified tests

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: running make check with only specified tests
Дата
Msg-id 2976.1390756112@sss.pgh.pa.us
обсуждение исходный текст
Ответ на running make check with only specified tests  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: running make check with only specified tests  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> 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:
>     $ make check-with TESTS="json jsonb"

The vast majority of the regression tests have interdependencies, which
would make any feature along these lines fairly useless IME.  (And no,
I'm not interested in converting the tests to a no-dependencies style.)

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.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: running make check with only specified tests
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: In-core regression tests for replication, cascading, archiving, PITR, etc. Michael Paquier