pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add support for PROVE_TESTS and PROVE_FLAGS in MSVC scripts
Date: Fri, 05 Mar 2021 01:15:16 +0000
Message-ID: <E1lHz3k-0003ca-2B@gemulon.postgresql.org> (raw)

Add support for PROVE_TESTS and PROVE_FLAGS in MSVC scripts

These can be set in buildenv.pl or a "set" command within a Windows
terminal.  The MSVC script vcregress.pl parses the values available in
the environment to build the resulting prove commands, and the parsing
of PROVE_TESTS is able to handle name patterns in the same way as other
platforms.

Not specifying those environment values makes vcregress.pl fall back to
the previous default, with no extra flags for the prove command, and all
the tests run within t/.

Author: Michael Paquier
Reviewed-by: Juan José Santamaría Flecha, Julien Rouhaud
Discussion: https://postgr.es/m/YD9GigwHoL6lFY2y@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5bca69a76b3046a85c60c48271c1831fd5affa51

Modified Files
--------------
doc/src/sgml/install-windows.sgml | 18 ++++++++++++++++++
src/tools/msvc/vcregress.pl       | 16 +++++++++++++++-
2 files changed, 33 insertions(+), 1 deletion(-)



Message-ID: <E1lHz3k-0003ca-2B@gemulon.postgresql.org>
Permalink:  ../E1lHz3k-0003ca-2B@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lHz3k-0003ca-2B@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Add support for PROVE_TESTS and PROVE_FLAGS in MSVC scripts
  In-Reply-To: <E1lHz3k-0003ca-2B@gemulon.postgresql.org>
  References: <E1lHz3k-0003ca-2B@gemulon.postgresql.org>

* 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