Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZEBDL-0000zz-Ld for pgsql-bugs@arkaria.postgresql.org; Sun, 12 Jul 2015 06:58:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZEBDJ-00032Q-8I for pgsql-bugs@arkaria.postgresql.org; Sun, 12 Jul 2015 06:58:13 +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 1ZEBDH-00032H-Js for pgsql-bugs@postgresql.org; Sun, 12 Jul 2015 06:58:11 +0000 Received: from mail-pd0-x236.google.com ([2607:f8b0:400e:c02::236]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZEBDA-0007tv-Cs for pgsql-bugs@postgresql.org; Sun, 12 Jul 2015 06:58:09 +0000 Received: by pdbep18 with SMTP id ep18so207257888pdb.1 for ; Sat, 11 Jul 2015 23:58:02 -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=A/n1x+o7/shA47Z2bsiR2hPKudTBelKQ/bs3Xr0Q+oU=; b=cXvzi60dtBN3g7AkE/Zzk9AsIKdnK03FyMIVHQGTNUgCIyQAQS3Ivu3PgvC0dfRkjI DV51GnrSQ6d8VDhVIbvaBtt15p9XhxnO44Kgr+sZ4TEqHRHE0m+ARs0r7sGgF/zeOreU 343nPV4GSp/Ms3RGUi6BXHXExYue+FgdM3TrY= 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=A/n1x+o7/shA47Z2bsiR2hPKudTBelKQ/bs3Xr0Q+oU=; b=KEwGtGuACLQtolJc3vTMdx8TpLtJKIJuJ5iFl+43TUdYA5hWSpnjL3BoC2hpSX2/w0 ngow7o0Xh8RrEXxbQpiMRg7y/c7ibnBNintsepB9Y4ThiXCP2b9qAI6t7bLCQQQm9IUt KD+s/YRbQfTK5wiOA/OxXG5Iedu3fxrTYlrOvQJcUNULawHnfy1q0WgiJP0A7knD4JIj NFY3HlSY0NfbqrfLHWCAEK1qRxZOC4Zdj9MaAdJ6t/Yq8fgScL2b3UeMxkrsIzGIqXjN k3ZRRy2QBT1Lf/q4tTOSAMBcfu4lDWqJRPg0agk2QExqgNAR4p4SX3NsvSrO7VOc6Mnp Djpg== X-Gm-Message-State: ALoCoQkUtVxMDFm+Jl6IxlSQohzeLqIuikpB+luCRPnVFecLFRoz5xLDPXmAJK2DBgCk5LL3nfkc X-Received: by 10.70.92.70 with SMTP id ck6mr15137990pdb.161.1436684282150; Sat, 11 Jul 2015 23:58:02 -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 sl9sm14849457pac.41.2015.07.11.23.58.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 11 Jul 2015 23:58:01 -0700 (PDT) Date: Sun, 12 Jul 2015 02:57:58 -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: <20150712065758.GA1085189@tornado.leadboat.com> References: <20150704013754.GA878067@tornado.leadboat.com> <20150707050407.GA942800@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.0 (--) 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 Mon, Jul 06, 2015 at 11:53:58PM -0700, Michael Paquier wrote: > On Mon, Jul 6, 2015 at 10:04 PM, Noah Misch wrote: > >> 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. > > Attached is a patch to revert to the pre-9.4 way of doing... This is a start. Study "git diff REL9_4_STABLE src/tools/msvc/vcregress.pl" after applying it. To give just one example of material left to revert, it leaves two absolute-path "chdir" calls in a row. > If MSVC > should imitate what make does, perhaps you have an opinion about the > ideas I sent upthead to add a check-mode to contribcheck and > modulescheck? That's 9.6 work. As you note, we lack a predefined notion of the installation path like we have in the GNU make build. That challenges our ability to make the two build systems more similar than they are in 9.4. While I have occasionally wished for a vcregress.pl target corresponding to "make -C contrib check", it's also one more thing to bitrot in an area that already experiences too much bitrot. Overall, I recommend against this project. The benefits of a correct patch are slight, yet writing one is difficult. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs