Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZZTgK-00027T-16 for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Sep 2015 00:56:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZZTgJ-0002AG-8H for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Sep 2015 00:56:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZZTez-0000b9-Qb for pgsql-hackers@postgresql.org; Wed, 09 Sep 2015 00:54:50 +0000 Received: from mail-pa0-x22d.google.com ([2607:f8b0:400e:c03::22d]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZZTev-0002PH-Or for pgsql-hackers@postgresql.org; Wed, 09 Sep 2015 00:54:48 +0000 Received: by pacex6 with SMTP id ex6so139115362pac.0 for ; Tue, 08 Sep 2015 17:54:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=5gBYtcOI7THiTwA9XSo3ht5bYg0M8KdmGK8VVMQIADM=; b=Fmp7GZ32qc9VrcwOtKBN3APZIPV2FGgN/vanhnLdM8sU0wRG9KQjsYl6ZFRG7rxz+A uiECaXd94LNuPIOzNg4CFuU14p24M5uMt9YHAiH6hNe1kssDHLFtsjGQN4NHdua9Q+GV /V+MPPMbTW+cnjSvEZaX4jSvhbY0h4rnAT0jg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=5gBYtcOI7THiTwA9XSo3ht5bYg0M8KdmGK8VVMQIADM=; b=JDwUn48yPHfqIot7ZwtGuyCzxjwbCOcDKlpDLbAXGim4At+KUX/2bdmIeTcGv5YXlS a11WUz0GLZbCJRZleq/m+ERhqIfRUDw5y8si6DjlfhDA2txu2q660p0Ztr+PsQULmpNa HKZaU+yZjteBHEmHzQkP+ZOggU2xk5N/lTrAHgNhGWzY7XJgGIX+HyjvrNcswuPg4QBL 26oGggfOAMfe4xsm55yjGadbggds6L/ynYac52bs/eMqu2x6VjFGwWgPJXMR/8DwgpzG 8zrLzsE1M6zC3t7jtO7xy5lAe8lNPvwGOKv/QYNzVkTT2HKZNtvi/J/bIdcpc0VY2q1L yTJw== X-Gm-Message-State: ALoCoQmQuF6ECaETkAupg5ASbBMZpwOgLXgmDc1LtqDeLsUVG6cYO3WfaHyJHmRKldTqbWJfB1Nu X-Received: by 10.66.244.230 with SMTP id xj6mr55344604pac.53.1441760082771; Tue, 08 Sep 2015 17:54:42 -0700 (PDT) Received: from tornado.leadboat.com (c-98-248-47-228.hsd1.ca.comcast.net. [98.248.47.228]) by smtp.gmail.com with ESMTPSA id p4sm4834917pdh.44.2015.09.08.17.54.41 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 08 Sep 2015 17:54:42 -0700 (PDT) Date: Tue, 8 Sep 2015 20:54:40 -0400 From: Noah Misch To: Stephen Frost Cc: Andrew Dunstan , pgsql-hackers@postgresql.org Subject: Re: pgsql: Improve logging of TAP tests. Message-ID: <20150909005440.GA3169795@tornado.leadboat.com> References: <20150908185836.GK3685@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150908185836.GK3685@tamriel.snowman.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Tue, Sep 08, 2015 at 02:58:36PM -0400, Stephen Frost wrote: > * Andrew Dunstan (andrew@dunslane.net) wrote: > > Improve logging of TAP tests. > > [...] > > This broke 'make check' for REL9_4_STABLE with --enable-tap-tests > because it added a reference to 'with_temp_install' but didn't actually > define it. The corresponding commits for HEAD (1ea0620) and 9.5 (fa4a4df) added just an "rm" invocation to that Makefile. Commit ef57b98 had no occasion to do more; I suspect a merge accident. Best to revert the extra change: --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -357,5 +357,7 @@ endef define prove_check rm -rf $(CURDIR)/tmp_check/log -cd $(srcdir) && TESTDIR='$(CURDIR)' $(with_temp_install) PGPORT='6$(DEF_PGPORT)' top_builddir='$(CURDIR)/$(top_builddir)' $(PROVE) $(PG_PROVE_FLAGS) $(PROVE_FLAGS) t/*.pl +$(MKDIR_P) tmp_check/log +$(MAKE) -C $(top_builddir) DESTDIR='$(CURDIR)'/tmp_check/install install >'$(CURDIR)'/tmp_check/log/install.log 2>&1 +cd $(srcdir) && TESTDIR='$(CURDIR)' PATH="$(CURDIR)/tmp_check/install$(bindir):$$PATH" $(call add_to_path,$(ld_library_path_var),$(CURDIR)/tmp_check/install$(libdir)) top_builddir='$(CURDIR)/$(top_builddir)' PGPORT='6$(DEF_PGPORT)' $(PROVE) $(PG_PROVE_FLAGS) $(PROVE_FLAGS) t/*.pl endef > +check: temp-install > + > +.PHONY: temp-install > +temp-install: > +ifndef NO_TEMP_INSTALL > +ifeq ($(MAKELEVEL),0) > + rm -rf '$(abs_top_builddir)'/tmp_install > + $(MKDIR_P) '$(abs_top_builddir)'/tmp_install/log > + $(MAKE) -C '$(top_builddir)' DESTDIR='$(abs_top_builddir)'/tmp_install install >'$(abs_top_builddir)'/tmp_install/log/install.log 2>&1 > +endif > + $(if $(EXTRA_INSTALL),for extra in $(EXTRA_INSTALL); do $(MAKE) -C '$(top_builddir)'/$$extra DESTDIR='$(abs_top_builddir)'/tmp_install install >>'$(abs_top_builddir)'/tmp_install/log/install.log || exit; done) > +endif This made non-TAP "check" targets create two temporary installations. Thanks, nm -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers