Add extension options to control TAP and isolation tests

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Postgres hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Add extension options to control TAP and isolation tests
Date: 2018-09-06 01:48:49
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hi all,

On a recent thread of pgsql-committers has been discussed the fact that
we lacked a bit of infrastructure to allow extensions to control
isolation and TAP tests:

Attached is a patch which is the result of the previous thread, where a
couple of variables are added for extension authors:
- ISOLATION, similar to REGRESS for pg_regress, which lists isolation
- ISOLATION_OPTS, which can be used to pass an option set to
- TAP_TESTS, a switch to enable running TAP tests.

This results in a bit of cleanup in the Makefile of modules we ship with
- modules/brin
- modules/commit_ts
- modules/test_pg_dump
- contrib/bloom, where the TAP tests were actually not running.
- contrib/oid2name
- contrib/test_decoding, which keeps the same feature set, and is
heavily cleaned up (it missed for example the use of the existing
- contrib/vacuumlo


Attachment Content-Type Size
pgxs-isolation-tap.patch text/x-diff 10.7 KB


Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2018-09-06 01:50:15 Re: pgsql: Clean up after TAP tests in oid2name and vacuumlo.
Previous Message Yotsunaga, Naoki 2018-09-06 00:16:14 RE: automatic restore point