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 1o8SKx-0006cq-JJ for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Jul 2022 20:06:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o8SKv-0001Dl-Gm for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Jul 2022 20:06:25 +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 1o8SKu-0001Cq-Gh for pgsql-hackers@lists.postgresql.org; Mon, 04 Jul 2022 20:06:25 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8SKr-0001dd-9z for pgsql-hackers@lists.postgresql.org; Mon, 04 Jul 2022 20:06:24 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 313D85C010D; Mon, 4 Jul 2022 16:06:19 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 04 Jul 2022 16:06:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1656965179; x=1657051579; bh=p7Bj8rhi0G XfvTlCH6UD+xc8xMAW+94j/p8sjiXFCaU=; b=gFgMX6f2UzBgP5w9/zCDl4zLw9 Ru6HWkl0mrMPlwI7QXCM7cPLv9zc1QWqJlw5oWuzQuC/pTVj4PIK3VvnSAxRZtPH aaN/sPmzVzOtphZpdR3F4Vyu5bmoIw4egH1rnrStdoGM/hPazTRB27Bqz67rUdr3 Y0tlo7odm06MmsZk8OeV2ZxtXhVToNF4u8NFeHTbOjvlHsnCtLdKA9KzaaDeT7lI xIddKj7AjYL7RxYEfHpXVMrpqjQ7KQYDFjU5hdK9pqG31z41AYwqh6p+nCyrsX2a TirJ8KApVZCEyKOZ+pMjUcSF5ccmiVdQ9kuyBvjhxWEWYHtVcuzKGNhYME/w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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=1656965179; x=1657051579; bh=p7Bj8rhi0GXfvTlCH6UD+xc8xMAW +94j/p8sjiXFCaU=; b=jiOqRy4QmPbO2MDJlLpv4paAcEyOFSvlZ/eJO35Q7OvS b/eQS/TGtnlKBnaQ/7g0w5eo9WhTxmivCX5MmO1pWNji2HhHT74KJ9LY4iEnoLjp WGgkeyT9FApKN+u2tS2SKQdH74cBWNM4vdZ3zdOi5BN05IDMKuqEaF1bUR+iNI+h /bmd8leTvHMru24oUdiP6MdHu+En2w6qA5qbQrTzznJI08C1z3qy/bAXRRt4qIC6 7P8tjJAWoIYDYprXq2yNtyc/06xpZoNXGn8yYiT1KaBB5aagUU9RyW6pH51rYaQr QwUAURwVDc9nhHWlj8Hwu/ge/aQI647qjvoJMXwygQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudehledgudegiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgu rhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtf frrghtthgvrhhnpedvffefvefhteevffegieetfefhtddvffejvefhueetgeeludehteev udeitedtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpegrnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 4 Jul 2022 16:06:18 -0400 (EDT) Date: Mon, 4 Jul 2022 13:06:17 -0700 From: Andres Freund To: Tom Lane Cc: Peter Eisentraut , Daniel Gustafsson , PostgreSQL Developers Subject: Re: TAP output format in pg_regress Message-ID: <20220704200617.vmuu3cuhhfmnzzpm@awork3.anarazel.de> References: <49A54862-C682-4B60-9155-05F178FA79DC@yesql.se> <20220321234924.kcc3q26o7sx6rnfa@alap3.anarazel.de> <489D2B5A-B26F-4918-BC07-B426329169E3@yesql.se> <5e6bc6a6-0a4e-109d-2b7d-c286dc58d609@enterprisedb.com> <1558373.1656945577@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1558373.1656945577@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, > Peter Eisentraut writes: > > I'm not sure what to make of all these options. I think providing a TAP > > output for pg_regress is a good idea. But then do we still need the old > > output? Is it worth maintaining two output formats that display exactly > > the same thing in slightly different ways? > > Probably is, because this is bad: > > ... The proposed default format now hides the > > fact that some tests are started in parallel. I remember the last time > > I wanted to tweak the output of the parallel tests, people were very > > attached to the particular timing and spacing of the current output. So > > I'm not sure people will like this. > > and so is this: > > > The timing output is very popular. Where is that in the TAP output? > > Both of those things are fairly critical for test development. You > need to know what else might be running in parallel with a test case, > and you need to know whether you just bloated the runtime unreasonably. That should be doable with tap as well - afaics the output of that could nearly be the same as now, preceded by a #. The test timing output could (and I think should) also be output - but if I read the tap specification correctly, we'd either need to make it part of the test "description" or on a separate line. On 2022-07-04 10:39:37 -0400, Tom Lane wrote: > More generally, I'm unhappy about the proposal that TAP should become > the default output. There is nothing particularly human-friendly > about it, whereas the existing format is something we have tuned to > our liking over literally decades. I don't mind if there's a way to > get TAP when you're actually intending to feed it into a TAP-parsing > tool, but I am not a TAP-parsing tool and I don't see why I should > have to put up with it. I'm mostly interested in the tap format because meson's testrunner can parse it - unsurprisingly it doesn't understand the current regress output. It's a lot nicer to immediately be pointed to the failed test(s) than having to scan through the output "manually". Greetings, Andres Freund