diff options
author | Daniel Gustafsson | 2023-03-31 11:00:02 +0000 |
---|---|---|
committer | Daniel Gustafsson | 2023-03-31 11:00:02 +0000 |
commit | 558fff0adfa02b6db6b003c64cca75e55f5187e2 (patch) | |
tree | fa1bec67d5d05b1dc7513149686b47c4d7a37d3e /doc/src | |
parent | 9b058f6b0d9c3d1ccde4d51a72bf15ce731973a1 (diff) |
pg_regress: Emit TAP compliant output
This converts pg_regress output format to emit TAP compliant output
while keeping it as human readable as possible for use without TAP
test harnesses. As verbose harness related information isn't really
supported by TAP this also reduces the verbosity of pg_regress runs
which makes scrolling through log output in buildfarm/CI runs a bit
easier as well.
As the meson TAP parser conumes whitespace, the leading indentation
for differentiating parallel tests from sequential tests has been
changed to a single character prefix.
This patch has been around for an extended period of time, reviewers
listed below may have been involved in reviewing a version quite
different from the version in this commit. The original idea for
this patch was a hacking session with Jinbao Chen.
TAP format testing is also enabled in meson as of this.
Reviewed-by: Andres Freund <[email protected]>
Reviewed-by: Tom Lane <[email protected]>
Reviewed-by: Nikolay Shaplov <[email protected]>
Reviewed-by: Dagfinn Ilmari Mannsåker <[email protected]>
Reviewed-by: Peter Eisentraut <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/regress.sgml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/src/sgml/regress.sgml b/doc/src/sgml/regress.sgml index 8a0b384dec..f721694230 100644 --- a/doc/src/sgml/regress.sgml +++ b/doc/src/sgml/regress.sgml @@ -30,6 +30,8 @@ parallel method starts up multiple server processes to run groups of tests in parallel. Parallel testing adds confidence that interprocess communication and locking are working correctly. + Some tests may run sequentially even in the <quote>parallel</quote> + mode in case this is required by the test. </para> <sect2 id="regress-run-temp-inst"> @@ -43,12 +45,12 @@ make check </screen> in the top-level directory. (Or you can change to <filename>src/test/regress</filename> and run the command there.) + Tests which are run in parallel are prefixed with <quote>+</quote>, and + tests which run sequentially are prefixed with <quote>-</quote>. At the end you should see something like: <screen> <computeroutput> -======================= - All 193 tests passed. -======================= +# All 213 tests passed. </computeroutput> </screen> or otherwise a note about which tests failed. See <xref |