Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1phPuq-0001RU-SD for pgsql-hackers@arkaria.postgresql.org; Wed, 29 Mar 2023 07:08:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1phPup-0004Am-IA for pgsql-hackers@arkaria.postgresql.org; Wed, 29 Mar 2023 07:08:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1phPup-0004Ac-83 for pgsql-hackers@lists.postgresql.org; Wed, 29 Mar 2023 07:08:15 +0000 Received: from new4-smtp.messagingengine.com ([66.111.4.230]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1phPul-0000rz-OB for pgsql-hackers@lists.postgresql.org; Wed, 29 Mar 2023 07:08:14 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 3FE26580365; Wed, 29 Mar 2023 03:08:09 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 29 Mar 2023 03:08:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1680073689; x=1680080889; bh=0npLc9hKb6FOYBFV4773nNHDI3xy/LmJ49M AM6YbMHA=; b=HTfcSyU5rfjWLXxrkZIjzsaP30QjbRiQnzH5JKGQzu7Q45t7bAT tXyPoJdyYIByoTL/bH2+UwymO+bSy3rFhl+v41jUX9cZRtnOkWhxL1Pv13gsTOjO 5uRYKn+3AL+ZMHOZRp6r+DlZrATga0zAe6/0yYEg8J5IEuKxNYVzr2bNEijMxWWN AT+aLlhLM1ulYejyB//5xnq+pEPaFa0wOELEiWhuE5h4TJ/Rd4m6xKkrNY6j7WB3 vGbqw/C5f5sFgnJ1v1KsZA3tsVO/BLyWrPLs7ddVunKdlKQR608frUCplulZu05W M+a7uF0oQ7owyEX1s4v75Lwdpm+wZDW63IA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehhedguddujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthekredttdefjeenucfhrhhomheprfgv thgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsegvnh htvghrphhrihhsvggusgdrtghomheqnecuggftrfgrthhtvghrnhephfejudeuleefheeu tddufeetjeevgeeiieeujeeuheefkedttdeuieeiieethfevnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgr uhhtsegvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 29 Mar 2023 03:08:07 -0400 (EDT) Message-ID: <28cced17-a21b-84c0-2de2-e470d97089e5@enterprisedb.com> Date: Wed, 29 Mar 2023 09:08:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: TAP output format in pg_regress Content-Language: en-US To: Daniel Gustafsson Cc: vignesh C , Nikolay Shaplov , Andres Freund , =?UTF-8?Q?Dagfinn_Ilmari_Manns=c3=a5ker?= , PostgreSQL Developers , Andrew Dunstan , Tom Lane References: <5e6bc6a6-0a4e-109d-2b7d-c286dc58d609@enterprisedb.com> <20221128182848.rxcmaxtw3mclmyr4@awork3.anarazel.de> <5348601.u5redSiXY4@thinkpad-pgpro> <655E7296-24A1-4481-A992-B5CD55B7F7DB@yesql.se> <4B2CBB72-9B1D-4028-9CAD-E53DF303AB8D@yesql.se> <0CBE542D-F333-45DE-9D6B-533CCDB13CDE@yesql.se> <42883A10-AA8C-4044-B559-3E741F011B4E@yesql.se> <34735bb9-ca5e-8b3d-1ccd-c4ba252bbfa4@enterprisedb.com> <66CE8D6C-1344-4B55-9CB5-2E144DD3CCF1@yesql.se> From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 28.03.23 15:56, Daniel Gustafsson wrote: >> On 28 Mar 2023, at 15:26, Daniel Gustafsson wrote: > >> I think the attached is a good candidate for going in, but I would like to see it >> for another spin in the CF bot first. > > Another candidate due to a thinko which raised a compiler warning. This is incorrect: -echo "+++ tap install-check in $(subdir) +++" && \ +echo "\# +++ tap install-check in $(subdir) +++" && \ It actually prints the backslash. But this appears to be correct: pg_regress_check = \ - echo "+++ regress check in $(subdir) +++" && \ + echo "\# +++ regress check in $(subdir) +++" && \ (Maybe because it's in a variable definition?) I'm confused why all the messages at the end lost their period ("All tests passed", "A copy of the test summary ...", etc.). As long as they are written as sentences, they should have a period. There is a comment "Testnames are indented 8 spaces" but you made that into a macro now, which is currently defined to 3. There is an unexplained #if 0. The additions of + free(difffilename); + difffilename = NULL; + free(logfilename); + logfilename = NULL; in the success case are not clear. The program is going to end soon anyway. On the indentation of the test names: If you look at the output of meson test verbose mode (e.g., meson test -C _build --suite regress --verbose), it reproduces the indentation in a weirdly backwards way, e.g., ▶ 1/1 stats 981 ms OK ▶ 1/1 event_trigger 122 ms OK ▶ 1/1 oidjoins 172 ms OK ▶ 1/1 fast_default 137 ms OK ▶ 1/1 tablespace 285 ms OK Not sure by which logic it arrives at that, but you can clearly see 3 additional spaces for the single tests. One thing I have noticed while playing around with this is that it's quite hard to tell casually whether a test run has failed or is failing, if you just keep half an eye on it in another Window. The display of "ok"/"not ok" as well as the summaries at the end are much less prominent than the previous "ok"/"FAILED" and the summary box at the end. I'm not sure what to do about that, or if it's just something to get used to.