pgsql: Add support for PROVE_TESTS and PROVE_FLAGS in MSVC scripts

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add support for PROVE_TESTS and PROVE_FLAGS in MSVC scripts
Date: 2021-03-05 01:15:16
Message-ID: E1lHz3k-0003ca-2B@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2021-03-05 05:59:24 pgsql: doc: Add backlinks to progress reporting documentation
Previous Message Andrew Dunstan 2021-03-04 18:24:17 pgsql: Close psql processes gracefully in recovery tests