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 1oERwX-0004Ah-82 for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Jul 2022 08:54:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oERwV-0003OL-J0 for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Jul 2022 08:53:59 +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 1oERwU-0003Jq-Hi for pgsql-hackers@lists.postgresql.org; Thu, 21 Jul 2022 08:53:59 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oERwR-00074x-MJ for pgsql-hackers@postgresql.org; Thu, 21 Jul 2022 08:53:57 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AABEE5C0114; Thu, 21 Jul 2022 04:53:53 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 21 Jul 2022 04:53:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1658393633; x=1658480033; bh=X g/Cyt0IfsS5EhoOPcUTMPCZbtEIEjGLRwQcpIKhMcI=; b=IBFrMjA4YHh80fK6r NmHG0nT3A8LllzShqsJBo/7npNg/sjDzcts0j01SR6T/WHlrYsDGvjhO0Lz2tVb3 9qkY9r3PaQsp28GrHqqbyxiQmd+uPfRsGjRB4S3dwae46InklKW65sIkRn395zQq 60CtFIjXCPWBEcSJerorWGW50PxUWjrroOlVqbUahoas4HyzTw6nMOn4s6zscSu+ E6lES+VGcGYui0HcDEPKGt2Z4hdwzfrOv3ZMlu9Z8Sno/dpb4RIw6RDEKk1Bxshw Geu79enZ8C++9f/vNCkyfrYhyOgRTQw2CR483RZiUy0w0vcoD2bOAz6NUBgx5MNn hSYaw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudelledguddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesmhekreertddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepudelkeekgfdttdettdekgfduvdeiffelteegjeeihfet heekveeftedtuddvhfeunecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhv hhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 21 Jul 2022 04:53:52 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id E6B12369; Thu, 21 Jul 2022 10:53:48 +0200 (CEST) Date: Thu, 21 Jul 2022 10:53:48 +0200 From: Alvaro Herrera To: Andrew Dunstan Cc: Justin Pryzby , pgsql-hackers@postgresql.org, Andres Freund Subject: Re: make -C libpq check fails obscurely if tap tests are disabled Message-ID: <20220721085348.dqnhfcqs6kyga2ym@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nnfgaad36xi2hwgh" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --nnfgaad36xi2hwgh Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On 2022-Jul-20, Andrew Dunstan wrote: > On 2022-07-20 We 13:23, Justin Pryzby wrote: > > PATH=... && @echo "TAP tests not enabled. Try configuring with --enable-tap-tests" > > /bin/sh: 1: @echo: not found > > > > make is telling the shell to run "@echo" , rather than running "echo" silently. > Yeah. It's a bit ugly but I think the attached would fix it. Here's a different take. Just assign the variable separately. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "No renuncies a nada. No te aferres a nada." --nnfgaad36xi2hwgh Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-Fix-interfaces-libpq-makefile.patch" From 9dee1cfa2fd819d9242e725dcd35e3951924647d Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Thu, 21 Jul 2022 10:53:06 +0200 Subject: [PATCH] Fix interfaces/libpq makefile --- src/interfaces/libpq/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile index b5fd72a4ac..8abdb092c2 100644 --- a/src/interfaces/libpq/Makefile +++ b/src/interfaces/libpq/Makefile @@ -143,11 +143,13 @@ install: all installdirs install-lib test-build: $(MAKE) -C test all +check installcheck: export PATH := $(CURDIR)/test:$(PATH) + check: test-build all - PATH="$(CURDIR)/test:$$PATH" && $(prove_check) + $(prove_check) installcheck: test-build all - PATH="$(CURDIR)/test:$$PATH" && $(prove_installcheck) + $(prove_installcheck) installdirs: installdirs-lib $(MKDIR_P) '$(DESTDIR)$(includedir)' '$(DESTDIR)$(includedir_internal)' '$(DESTDIR)$(datadir)' -- 2.30.2 --nnfgaad36xi2hwgh--