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.96) (envelope-from ) id 1vfpVu-005Irr-2V for pgsql-hackers@arkaria.postgresql.org; Wed, 14 Jan 2026 01:17:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vfpVt-007C5B-3D for pgsql-hackers@arkaria.postgresql.org; Wed, 14 Jan 2026 01:17:34 +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.96) (envelope-from ) id 1vfpVt-007C52-2H for pgsql-hackers@lists.postgresql.org; Wed, 14 Jan 2026 01:17:33 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vfpVr-000KRU-2S for pgsql-hackers@lists.postgresql.org; Wed, 14 Jan 2026 01:17:33 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 424AD44DC8D for ; Wed, 14 Jan 2026 02:17:31 +0100 (CET) Received: from s980.loopia.se (unknown [172.22.191.5]) by s807.loopia.se (Postfix) with ESMTP id 331BA44D035; Wed, 14 Jan 2026 02:17:31 +0100 (CET) Received: from s474.loopia.se (unknown [172.22.191.5]) by s980.loopia.se (Postfix) with ESMTP id 31C182201515; Wed, 14 Jan 2026 02:17:31 +0100 (CET) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1.2 X-Spam-Level: X-Spam-Status: No, score=-1.2 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1] autolearn=disabled Authentication-Results: s474.loopia.se (amavisd-new); dkim=pass (2048-bit key) header.d=proxel.se Received: from s980.loopia.se ([172.22.191.6]) by s474.loopia.se (s474.loopia.se [172.22.190.14]) (amavisd-new, port 10024) with LMTP id tgbp6_BD11Xn; Wed, 14 Jan 2026 02:17:30 +0100 (CET) X-Loopia-Auth: user X-Loopia-User: andreas@proxel.se X-Loopia-Originating-IP: 147.28.75.140 Received: from [192.168.0.121] (customer-147-28-75-140.stosn.net [147.28.75.140]) (Authenticated sender: andreas@proxel.se) by s980.loopia.se (Postfix) with ESMTPSA id BCA522201512; Wed, 14 Jan 2026 02:17:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proxel.se; s=loopiadkim1707418970; t=1768353450; bh=WeUR0gOgZZpJPtaw2ssNxwJi4r/nJWi6eZY3mJFOy1Q=; h=Date:Subject:To:References:From:In-Reply-To; b=e+qvLmtfMCHWBCAXaolNKaK9sYgjwabFEo2n5titgI7QhhBeSmKpcbULY8ZVVa3pj c59v9Aej4ieJ0bYuVyI2zC/KjXsB6PLwQjPRG1h2Cqtl/sJMc1xEEU9P8pObY6jLU5 lbL0C3gu+WyFgXRTT/+RnlFmzFKQTjF2SZ7qu7qG+Or9q6qIY2b5/w+7brO6vv/X6A IC6YDIyE8qfu2bB002z3C4ghIHKbv9qrRH94z9dNTGzynEBuAUO/d6wEoaYB9hjute IF72z3w20WUB0Y/LWK95XcI8mu8Luv0pm0GaV0J7ieyiX1ZJgb7ImTMyXS5+o1VgJG chDC3ljNPpNuw== Message-ID: <2b3554b9-d365-4b8a-ada1-ce81144a9c84@proxel.se> Date: Wed, 14 Jan 2026 02:17:30 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Add support for EXTRA_REGRESS_OPTS for meson To: Rustam ALLAKOV , pgsql-hackers@lists.postgresql.org References: <1d39c711-98cb-460f-ac44-1ab0007daeb2@proxel.se> <176834196488.969.13193439940284055773.pgcf@coridan.postgresql.org> From: Andreas Karlsson Content-Language: en-US In-Reply-To: <176834196488.969.13193439940284055773.pgcf@coridan.postgresql.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 1/13/26 11:06 PM, Rustam ALLAKOV wrote: >>> in addition to the above, might be worth to add some documentation like >>> >>> Environment Variables Supported: >>> EXTRA_REGRESS_OPTS: Additional options to pass to regression, isolation, or ecpg tests. >>> TEMP_CONFIG: Specify a temporary configuration file for testing purposes. >>> Example Usage: >>> # Use EXTRA_REGRESS_OPTS to load an extension >>> EXTRA_REGRESS_OPTS="--load-extension=pgcrypto" meson test >>> # Use TEMP_CONFIG to specify a temporary configuration file >>> TEMP_CONFIG="path/to/test.conf" meson test >>> # Use both EXTRA_REGRESS_OPTS and TEMP_CONFIG together >>> TEMP_CONFIG="path/to/test.conf" EXTRA_REGRESS_OPTS="--load-extension=pgcrypto" meson test >> >> Yeah, we probably should. But not sure where, maybe at >> https://www.postgresql.org/docs/current/install-meson.html or did you >> imagine somewhere else? > > Either at docs or/and directly in file /src/tools/testwrap as comments > Regards. If we add it to the documentation the question is if we should also document environment variables for builds with make. But maybe that is for a separate patch. As for documenting it in testwrap: that does not feel very useful to me since people who know that this is where they should look likely already knows about these. It is a pretty hidden place. Hmm, not sure where such information belongs. Andreas