[PATCH] Allow TAP tests to be run individually

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Subject: [PATCH] Allow TAP tests to be run individually
Date: 2016-11-11 09:10:16
Message-ID: CAMsr+YG3UZBnLLoCOgaXxAP848_qk-_hssb092q2inN=2Td9eA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Per prior discussion, this small Makefile change allows anything that
uses $(prove_check) or $(prove_installcheck) to have the list of tests
overridden by passing a PROVE_TESTS as a list of space-separated test
file paths.

Particularly handy for src/test/recovery when you want to run
t/009_something_new.pl without running 001 through 008 each and every
time. The current workaround is deleting the tests you don't want,
which dirties up your git tree and is really annoying when checking
out and rebasing etc.

Please backpatch to at least 9.6 since it's trivial and we seem to be
doing that for TAP. 9.5 and 9.4 would be nice too :)

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Attachment Content-Type Size
0001-Allow-individual-TAP-tests-to-be-run-via-PROVE_TESTS.patch text/x-patch 2.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Julian Markwort 2016-11-11 09:22:52 Re: [PATCH] pgpassfile connection option
Previous Message Kuntal Ghosh 2016-11-11 08:53:00 Re: WAL consistency check facility