From: Noah Misch <noah@leadboat.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: 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: Sun, 12 Jul 2015 02:57:58 -0400
Message-ID: <20150712065758.GA1085189@tornado.leadboat.com> (raw)
In-Reply-To: <CAB7nPqRzWTE5fz=HbcQ56sHvLeXmk7Pa8=L7uzevPfLsjvHCkg@mail.gmail.com>
References: <CAB7nPqSa6dnSP0hPgC53tx+2xm_XnJKjzN08uy6R0zkQs8-aWg@mail.gmail.com>
<20150704013754.GA878067@tornado.leadboat.com>
<CAB7nPqT_iRYhYXD7WHGeRGA3-WjQHKEESNEOnDrCtiDB0A_o8Q@mail.gmail.com>
<20150707050407.GA942800@tornado.leadboat.com>
<CAB7nPqRzWTE5fz=HbcQ56sHvLeXmk7Pa8=L7uzevPfLsjvHCkg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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
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: <20150712065758.GA1085189@tornado.leadboat.com>
References: <CAB7nPqSa6dnSP0hPgC53tx+2xm_XnJKjzN08uy6R0zkQs8-aWg@mail.gmail.com> <20150704013754.GA878067@tornado.leadboat.com> <CAB7nPqT_iRYhYXD7WHGeRGA3-WjQHKEESNEOnDrCtiDB0A_o8Q@mail.gmail.com> <20150707050407.GA942800@tornado.leadboat.com> <CAB7nPqRzWTE5fz=HbcQ56sHvLeXmk7Pa8=L7uzevPfLsjvHCkg@mail.gmail.com> <20150712065758.GA1085189@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