From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add PGXS options to control TAP and isolation tests, take two |
Date: | 2018-12-03 00:28:39 |
Message-ID: | E1gTc6J-0000qu-FV@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Add PGXS options to control TAP and isolation tests, take two
The following options are added for extensions:
- TAP_TESTS, to allow an extention to run TAP tests which are the ones
present in t/*.pl. A subset of tests can always be run with the
existing PROVE_TESTS for developers.
- ISOLATION, to define a list of isolation tests.
- ISOLATION_OPTS, to pass custom options to isolation_tester.
A couple of custom Makefile rules have been accumulated across the tree
to cover the lack of facility in PGXS for a couple of releases when
using those test suites, which are all now replaced with the new flags,
without reducing the test coverage. Note that tests of contrib/bloom/
are not enabled yet, as those are proving unstable in the buildfarm.
Author: Michael Paquier
Reviewed-by: Adam Berlin, Álvaro Herrera, Tom Lane, Nikolay Shaplov,
Arthur Zakirov
Discussion: https://postgr.es/m/20180906014849.GG2726@paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d3c09b9b1307e022883801000ae36bcb5eef71e8
Modified Files
--------------
contrib/bloom/Makefile | 7 ++--
contrib/oid2name/Makefile | 10 +----
contrib/test_decoding/Makefile | 65 +++++++-----------------------
contrib/vacuumlo/Makefile | 10 +----
doc/src/sgml/extend.sgml | 61 +++++++++++++++++++++++++++-
src/makefiles/pgxs.mk | 32 ++++++++++++++-
src/test/modules/brin/.gitignore | 2 +-
src/test/modules/brin/Makefile | 25 ++----------
src/test/modules/commit_ts/Makefile | 7 +---
src/test/modules/snapshot_too_old/Makefile | 35 ++++------------
src/test/modules/test_pg_dump/Makefile | 6 +--
11 files changed, 127 insertions(+), 133 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2018-12-03 05:27:40 | pgsql: Add some missing schema qualifications |
Previous Message | Tom Lane | 2018-12-01 22:19:56 | pgsql: Eliminate parallel-make hazard in ecpg/preproc. |