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 1t8Ffw-002yQ7-Bn for pgsql-committers@arkaria.postgresql.org; Tue, 05 Nov 2024 09:16:35 +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 1t8Fft-00BNQH-Ps for pgsql-committers@arkaria.postgresql.org; Tue, 05 Nov 2024 09:16:34 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t8Fft-00BNNA-HU for pgsql-committers@lists.postgresql.org; Tue, 05 Nov 2024 09:16:34 +0000 Received: from fout-b3-smtp.messagingengine.com ([202.12.124.146]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t8Ffr-000HB8-Fj for pgsql-committers@lists.postgresql.org; Tue, 05 Nov 2024 09:16:32 +0000 Received: from phl-compute-08.internal (phl-compute-08.phl.internal [10.202.2.48]) by mailfout.stl.internal (Postfix) with ESMTP id 0084011401C6; Tue, 5 Nov 2024 04:16:30 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-08.internal (MEProxy); Tue, 05 Nov 2024 04:16:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1730798190; x=1730884590; bh=ZfdQLVwdxk59t38hegXzxK7Jdy9m5e+XIhE04jRhEJQ=; b= owc1gBB0D2w7Fq13CMK3fYUWCY44P84MxZYZSGzKVaEAWlCaf+zl/o7q5dxw2hzn GO4BBsNOWcphiW1HpsnKBFeps491xyOVxMqlABonshyLDDFrpqatygS7gZ8W1hv+ /PDSPCjBcdjgo3R+/RcwKZnD9PGtsWx5fLmhvroFWv1NlsFLLW2+cHyG/KHQp8wg CfjuHtjAa3KSBrVL6V6fSfkmBmigc7ico3egObmm4f+kDou/cH0wQIW28vwEMNKi fySSHYFW1oU+FPc327ixBtdj7Vt89+UwhYXcIw3DMVTJp4qEllEoa0/v8yDETg8+ pWKniKI0anGVSbuNPfDAdQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1730798190; x=1730884590; bh=Z fdQLVwdxk59t38hegXzxK7Jdy9m5e+XIhE04jRhEJQ=; b=GcDpFScdXKjWmafBH CoDpyIUNGJTmzHwch8gbHIP5rfh5dfrljJfw+hyuOewD2IJt5fSsqq4VVubJX5pX sTxZOCB+25mTUJKHfLbTk0R13ojHqcFIcnQsPsYfJYL5w1MQU0Kjv2rYaMaIMjAZ yKEMqWvESKrUHXHsBUOXMHiVNku/AjwTOd/1Ri3/8aNmWW07B0vRTknWIoCpgAKG XK9+dyTPMkJJ5f53ROryba3/olKZVW/4kjo1F3dtHeqRvrPxMtVhDkZr2GFFAvgL EFa93vK0WsihPzUn13KYprCLHbypwUpM36b7PNnj6NoyTFG+OehU3OxiTz3s8Wd3 1b+9g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelkedgtddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvfhfhjggtgfesthejredttddvjeen ucfhrhhomheprfgvthgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhesvghishgvnh htrhgruhhtrdhorhhgqeenucggtffrrghtthgvrhhnpeegueeuvdfhheeuieejtefguddt hfevveefuefgtddvgfetteehjeetleeuvdevudenucffohhmrghinhepphhoshhtghhrvg hsqhhlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepphgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgpdhnsggprhgtphhtthhope dvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehhvghikhhkihdrlhhinhhnrghk rghnghgrshesihhkihdrfhhipdhrtghpthhtohepphhgshhqlhdqtghomhhmihhtthgvrh hssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Nov 2024 04:16:30 -0500 (EST) Message-ID: <5c380997-e270-425a-9542-e4ef36a285de@eisentraut.org> Date: Tue, 5 Nov 2024 10:16:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pgsql: Make PG_TEST_EXTRA env var override the "meson setup" option To: Heikki Linnakangas , pgsql-committers@lists.postgresql.org References: Content-Language: en-US From: Peter Eisentraut In-Reply-To: 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 04.11.24 13:25, Heikki Linnakangas wrote: > Make PG_TEST_EXTRA env var override the "meson setup" option I see this warning flying by: Configuring Makefile.global using configuration ../src/meson.build:31: WARNING: The variable(s) 'PG_TEST_EXTRA' in the input file 'src/Makefile.global.in' are not present in the given configuration data. > "meson test" used to ignore the PG_TEST_EXTRA environment variable, > which meant that in order to run additional tests, you had to run > "meson setup -DPG_TEST_EXTRA=...". That's somewhat expensive, and not > consistent with autoconf builds. Allow PG_TEST_EXTRA environment > variable to override the setup-time option at run time, so that you > can do "PG_TEST_EXTRA=... meson test". > > To implement this, the configuration time value is passed as an extra > "--pg-test-extra" argument to testwrap instead of adding it to the > test environment. If the environment variable is set at the time of > running test, testwrap uses the value from the environment variable > and ignores the --pg-test-extra option. > > Now that "meson test" obeys the environment variable, we can remove it > from the "meson setup" steps in the CI script. It will now be picked > up from the environment variable like with "make check". > > Author: Nazir Bilal Yavuzk, Ashutosh Bapat > Reviewed-by: Ashutosh Bapat with inputs from Tom Lane and Andrew Dunstan > > Branch > ------ > master > > Details > ------- > https://git.postgresql.org/pg/commitdiff/3d1aec225ac4a1199079150dabfd0d34c5054127 > > Modified Files > -------------- > .cirrus.tasks.yml | 6 +----- > doc/src/sgml/installation.sgml | 10 +++++++--- > meson.build | 10 +++++----- > meson_options.txt | 2 +- > src/tools/testwrap | 10 ++++++++++ > 5 files changed, 24 insertions(+), 14 deletions(-) >