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 1muxcD-0005Je-UR for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Dec 2021 14:08:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1muxcC-00044o-Hl for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Dec 2021 14:08:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1muxcC-00044f-8R for pgsql-hackers@lists.postgresql.org; Wed, 08 Dec 2021 14:08:12 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1muxc9-0005E6-QM for pgsql-hackers@postgresql.org; Wed, 08 Dec 2021 14:08:11 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 341673201CCC; Wed, 8 Dec 2021 09:08:08 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 08 Dec 2021 09:08:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ilmari.org; h= from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type:content-transfer-encoding; s=fm3; bh= VwY/4j9KUy1DLK++7RFojrReLdkJwNUVUlVLJUOKVUU=; b=C2MkuRdm6OGN7toV WPRERjnDWw1nY2F8qBNxAlTxaH4ioP0jb4h+oPou14Vr3HqCCJTavG+ouNGNkL8D VaN09cYN+PgH1qUBEM2RVBTiCcDEl1oK2BzZl7KewiC1RqtwYMkQPyq32VCc+OW3 ipCelq/lpgPIiF/Dh5snkVJkk7HnF1ul4xzS/ibWOdK97KLjmEj3Ur3ID7w6Bi7s y/kIeax9qX8VSGcMS17+IY9/SEUFNiAtdsrWI9HihZgsMl8y5ptV9bm2F70TPqq+ rD2EaIAIJM9Od7bUk1yI7CC172D1sH4l11ZIUasPoGk28vMlQdf0AXQnVJRs23ZC 6pyXWg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=VwY/4j9KUy1DLK++7RFojrReLdkJwNUVUlVLJUOKV UU=; b=exxQjeffH+vNHSTDdEuvAE5zzdCLsR+j/VlOIIcXNK5p2kFh782fPNSzd MDWdGdwAIc3pQEhwq2MxLrhJfUDLJMbCwXdrQ2eslJTOY5LiaIwG7/89xmUQWqs1 p4rSSH+LiGyu+rt/dxaMlYzMA/byHXUHaU1oUCwPy0azaZZqVIUKw98bJPO+TNs/ S1xF/MX4SnyWVY8warxju6CaubHDoZmTwyXrsjrb+UQlQOxU3tHZJBT6eiYQ0W+B SIEbfP63lq8PQE+aOkEjnthEmH2AD+ZxBSOl/yMGTMB6tH2R3zuKSjhbPDqgCDuD n80GwAmfRjC44XCyXyvSOrEcMBP/A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrjeekgdehlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufhffjgfkfgggtgfgsehtkeertddtreejnecuhfhrohhmpeffrghgfhhi nhhnpgfklhhmrghrihgpofgrnhhnshonkhgvrhcuoehilhhmrghrihesihhlmhgrrhhird horhhgqeenucggtffrrghtthgvrhhnpeevudduudeileefieeludfhleetueelfeehffek veejvefhhfffgedtfeeftdehffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpehilhhmrghrihesihhlmhgrrhhirdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 8 Dec 2021 09:08:06 -0500 (EST) From: =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= To: Daniel Gustafsson Cc: Peter Eisentraut , pgsql-hackers Subject: Re: Readd use of TAP subtests References: <9878e1e2-2ce3-6df0-3498-07d967534f5e@enterprisedb.com> <87zgpbnr59.fsf@wibble.ilmari.org> <6131CFD1-EC47-41ED-999E-AB28B40DDEAA@yesql.se> Date: Wed, 08 Dec 2021 14:08:05 +0000 In-Reply-To: <6131CFD1-EC47-41ED-999E-AB28B40DDEAA@yesql.se> (Daniel Gustafsson's message of "Wed, 8 Dec 2021 14:53:33 +0100") Message-ID: <87wnkfnq9m.fsf@wibble.ilmari.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Daniel Gustafsson writes: >> On 8 Dec 2021, at 14:49, Dagfinn Ilmari Mannsåker wrote: >> >> Peter Eisentraut writes: >> >>> Now that subtests in TAP are supported again, I want to correct the >>> great historical injustice of 7912f9b7dc9e2d3f6cd81892ef6aa797578e9f06 >>> and put those subtests back. >> >> The updated Test::More version requirement also gives us done_testing() >> (added in 0.88), which saves us from the constant maintenance headache >> of updating the test counts every time. Do you fancy switching the >> tests you're modifying anyway to that? > > We already call done_testing() in a number of tests, and have done so for a > number of years. src/test/ssl/t/002_scram.pl is one example. Reading the Test::More changelog more closely, it turns out that even though we used to depend on version 0.87, that's effectively equivalent 0.88, because there was no stable 0.87 release, only 0.86 and development releases 0.87_01 through _03. Either way, I think we should be switching tests to done_testing() whenever it would otherwise have to adjust the test count, to avoid having to do that again and again and again going forward. - ilmari