Re: contribcheck and modulescheck of MSVC's vcregress.pl cannot work independently - Mailing list pgsql-bugs

From Noah Misch
Subject Re: contribcheck and modulescheck of MSVC's vcregress.pl cannot work independently
Date
Msg-id 20150704013754.GA878067@tornado.leadboat.com
Whole thread Raw
In response to contribcheck and modulescheck of MSVC's vcregress.pl cannot work independently  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: contribcheck and modulescheck of MSVC's vcregress.pl cannot work independently
List pgsql-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.

pgsql-bugs by date:

Previous
From: Andres Freund
Date:
Subject: Re: BUG #13484: Performance problem with logical decoding
Next
From: Michael Paquier
Date:
Subject: Re: contribcheck and modulescheck of MSVC's vcregress.pl cannot work independently