From 2f08bcabc93d498494b444234e5c5a7a13f46a49 Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Tue, 28 Mar 2023 15:20:19 +0200 Subject: [PATCH v21] pg_regress: Emit TAP compliant output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. TAP format testing is also enabled in Meson as of this. Reviewed-by: Andres Freund Reviewed-by: Tom Lane Reviewed-by: Nikolay Shaplov Reviewed-by: Dagfinn Ilmari Mannsåker Reviewed-by: Peter Eisentraut Discussion: https://postgr.es/m/BD4B107D-7E53-4794-ACBA-275BEB4327C9@yesql.se Discussion: https://postgr.es/m/20220221164736.rq3ornzjdkmwk2wo@alap3.anarazel.de --- doc/src/sgml/regress.sgml | 4 +- meson.build | 1 + src/Makefile.global.in | 14 +- src/test/regress/pg_regress.c | 558 ++++++++++++++++++---------------- 4 files changed, 313 insertions(+), 264 deletions(-) diff --git a/doc/src/sgml/regress.sgml b/doc/src/sgml/regress.sgml index 719e0a7698..e7616e689d 100644 --- a/doc/src/sgml/regress.sgml +++ b/doc/src/sgml/regress.sgml @@ -46,9 +46,7 @@ make check At the end you should see something like: -======================= - All 193 tests passed. -======================= +# All 213 tests passed. or otherwise a note about which tests failed. See