pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: Michael Paquier <michael.paquier@gmail.com>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Cc: peter_e@gmx.net
Subject: Re: contribcheck and modulescheck of MSVC's vcregress.pl cannot work independently
Date: Fri, 3 Jul 2015 21:37:54 -0400
Message-ID: <20150704013754.GA878067@tornado.leadboat.com> (raw)
In-Reply-To: <CAB7nPqSa6dnSP0hPgC53tx+2xm_XnJKjzN08uy6R0zkQs8-aWg@mail.gmail.com>
References: <CAB7nPqSa6dnSP0hPgC53tx+2xm_XnJKjzN08uy6R0zkQs8-aWg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Sun, May 31, 2015 at 10:49:46PM -0700, Michael Paquier wrote:
> I have just noticed that the commands contribcheck and modulescheck
> will fail as follows if the temporary installation is not done in
> $ROOT_DIR/tmp_install first:
> C:\Users\ioltas\git\postgres\src\tools\msvc>vcregress contribcheck
> ============================================================
> Checking btree_gin
> The system cannot find the path specified.
> 
> All the other commands call InstallTemp() so as to have them work
> independently. For consistency I think that we should do the same for
> them. Attached is a patch to fix that.

> --- a/src/tools/msvc/vcregress.pl
> +++ b/src/tools/msvc/vcregress.pl
> @@ -290,6 +290,7 @@ sub subdircheck
>  
>  sub contribcheck
>  {
> +	InstallTemp();

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=<relpath>/$Config/psql like
installcheck itself.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (9+ messages)  latest in thread

Message-ID: <20150704013754.GA878067@tornado.leadboat.com>
Permalink:  ../20150704013754.GA878067@tornado.leadboat.com/
Also on:    postgresql.org/message-id/20150704013754.GA878067@tornado.leadboat.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noah@leadboat.com, michael.paquier@gmail.com, andrew@dunslane.net, peter_e@gmx.net
  Subject: Re: contribcheck and modulescheck of MSVC's vcregress.pl cannot work independently
  In-Reply-To: <20150704013754.GA878067@tornado.leadboat.com>
  References: <CAB7nPqSa6dnSP0hPgC53tx+2xm_XnJKjzN08uy6R0zkQs8-aWg@mail.gmail.com> <20150704013754.GA878067@tornado.leadboat.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox