Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uo1vz-00FCwk-RD for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Aug 2025 15:38:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uo1vz-0005Mn-6P for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Aug 2025 15:38:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uo1vy-0005Mf-TN for pgsql-hackers@lists.postgresql.org; Mon, 18 Aug 2025 15:38:07 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uo1vx-000XdA-0o for pgsql-hackers@lists.postgresql.org; Mon, 18 Aug 2025 15:38:07 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 57IFc2N9414030; Mon, 18 Aug 2025 11:38:02 -0400 From: Tom Lane To: Andres Freund cc: Michael Paquier , Postgres hackers Subject: Re: make -C src/test/isolation failure in index-killtuples due to btree_gist In-reply-to: References: Comments: In-reply-to Andres Freund message dated "Mon, 18 Aug 2025 09:58:28 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <414028.1755531482.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 18 Aug 2025 11:38:02 -0400 Message-ID: <414029.1755531482@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > On 2025-08-18 08:57:13 +0900, Michael Paquier wrote: >> The following command fails, because btree_gist is not installed in >> the context of the isolation tests: >> make -C src/test/isolation/ >> ... >> and it does not strike me as a good idea to begin doing that in the mai= n >> isolation test suite, so perhaps the best thing to do here is just move= this >> test to contrib/btree_gist/? > No, it makes absolutely no sense to test e.g. hash killtuples support in > btree_gist. I think the complaint is that nothing has been done to ensure that these modules have been installed. You created a new dependency that developers have to work around, rather than teaching the build system to handle it. As a comparison point, all of the tests in src/test/recovery, src/test/authentication, etc take care to install required modules when you say "make check" in those directories. You broke that for src/test/isolation, and you should fix it. It shouldn't be much harder than setting EXTRA_INSTALL in the Makefile case; I dunno about meson. regards, tom lane