Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCL3O-00063d-E7 for pgsql-bugs@arkaria.postgresql.org; Tue, 07 Jul 2015 05:04:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZCL3N-0004O6-RX for pgsql-bugs@arkaria.postgresql.org; Tue, 07 Jul 2015 05:04:21 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZCL3M-0004NS-15 for pgsql-bugs@postgresql.org; Tue, 07 Jul 2015 05:04:20 +0000 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZCL3E-0001AW-Qx for pgsql-bugs@postgresql.org; Tue, 07 Jul 2015 05:04:18 +0000 Received: by pacgz10 with SMTP id gz10so33028830pac.3 for ; Mon, 06 Jul 2015 22:04:11 -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=LuYa0KeGMsLab/dU9t3xrabK82Sx4LrZg5CT//Eahyo=; b=Kw9uGI71nPRE0c0/KryNyrgZsHMk8tybUXdyGYIkF5qNeJIBfS4AuO5ldh9R0MLGBY 5lrKz9M0SVZG/qP7pbYxcl/y9ldBwhxHvWA6chQtHnGgTTyQdlojjhgnzoNBe+o85x7j FseQg2nP0D8FplZZ9jKi449hPoacZJZOG0Ez0= 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=LuYa0KeGMsLab/dU9t3xrabK82Sx4LrZg5CT//Eahyo=; b=LBQplfzFQa6D7tkr6l9irFpDHGba7c78bAlMHxQEAjWVM1gyz088ohvl6F0IPeXc2O k3dzPYNdeLSkwSuSR7WA/8/+/y2TwdFJ2w6DiX9F3xxV5pgLYtXeGGyHXuVpRI+yhjDJ fJCekB3PKvvawuoOvQbTltNsWzNrS329CzmgRdw4ZS0CvMAMj5YSc4e2zqN/qi3WWqmW 72veqP3tklv5/AGcxInIQl22OOzI8wC2tS7l9FAdrEDLuZNFjTUZtqczna/Vl+X3e7+D Kg8Ra59PXBLK1SSUSvRf/Yu7HH9Peih5hxGmUVOBDsCpKqahEqNbabMjMgYKFY1VGAWO sfYw== X-Gm-Message-State: ALoCoQmKKe2Xvwz8n/yD3cjL77Zm5YZYr6Z8PNb+Qu3pec7gFC5SEhjPY4z4W52ChryH/T7UzB4E X-Received: by 10.68.167.197 with SMTP id zq5mr4854101pbb.85.1436245450950; Mon, 06 Jul 2015 22:04:10 -0700 (PDT) Received: from tornado.leadboat.com (c-98-248-47-228.hsd1.ca.comcast.net. [98.248.47.228]) by mx.google.com with ESMTPSA id td3sm20414824pab.46.2015.07.06.22.04.09 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 06 Jul 2015 22:04:09 -0700 (PDT) Date: Tue, 7 Jul 2015 01:04:07 -0400 From: Noah Misch To: Michael Paquier Cc: Andrew Dunstan , PostgreSQL mailing lists , peter_e@gmx.net Subject: Re: contribcheck and modulescheck of MSVC's vcregress.pl cannot work independently Message-ID: <20150707050407.GA942800@tornado.leadboat.com> References: <20150704013754.GA878067@tornado.leadboat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Sat, Jul 04, 2015 at 11:26:07AM +0900, Michael Paquier wrote: > On Sat, Jul 4, 2015 at 10:37 AM, Noah Misch wrote: > > This worked around defects in commit dcae5fa: "check", "ecpgcheck" and > > "upgradecheck" are the only test targets properly requiring an installation. > > The others are installcheck-style targets that need just a couple of binaries > > from the build tree; they should be using --bindir=/$Config/psql like > > installcheck itself. > > Well, I disagree here. For one, that's a cheap insurance regarding the > fact that a test set may need more than psql as a binary and it makes > all the tests use the same consistent way of doing. At several seconds and >1000 files created, an extra temporary installation is not cheap. (Indeed, that expense motivated commit dcae5fa.) The GNU make build system never creates a temporary installation for just psql. Insurance is not valuable in this area. If someone modifies a suite to need an additional binary without updating the test harness to furnish that binary, the buildfarm will catch the mistake. MSVC build system semantics should mimic the GNU make build system, not innovate. In released versions, vcregress.pl departs from that by using the build tree psql instead of an installed psql. In 9.5, it will use psql from a temporary installation. Where's the improvement in that? It replaced one inconsistency with another. > Also, if we would > want to have a real installcheck mode, what we should use is not the > path to what has been built but the path to the installation that the > Postgres instance needed is using. Now if you want to fix it if you > fix that's incorrect I won't complain about that :) I don't wish to. I was content with released-branch vcregress.pl semantics. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs