Add PGXS options to control TAP and isolation tests, take two
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| contrib/bloom/Makefile | modified | +4 −3 |
| contrib/oid2name/Makefile | modified | +2 −8 |
| contrib/test_decoding/Makefile | modified | +15 −50 |
| contrib/vacuumlo/Makefile | modified | +2 −8 |
| doc/src/sgml/extend.sgml | modified | +59 −2 |
| src/makefiles/pgxs.mk | modified | +30 −2 |
| src/test/modules/brin/.gitignore | modified | +1 −1 |
| src/test/modules/brin/Makefile | modified | +3 −22 |
| src/test/modules/commit_ts/Makefile | modified | +2 −5 |
| src/test/modules/snapshot_too_old/Makefile | modified | +8 −27 |
| src/test/modules/test_pg_dump/Makefile | modified | +1 −5 |
Documentation touched
Discussion
- Add extension options to control TAP and isolation tests 18 messages · 2018-09-06 → 2018-12-03