Add support for PROVE_TESTS and PROVE_FLAGS in MSVC scripts
authorMichael Paquier <michael@paquier.xyz>
Fri, 5 Mar 2021 01:12:49 +0000 (10:12 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 5 Mar 2021 01:12:49 +0000 (10:12 +0900)
commit5bca69a76b3046a85c60c48271c1831fd5affa51
tree0f1daed847a2beafbe6f0a4722a044a97bbb4747
parentd3676a2e9f10a0972c6d6649235c1c7492cd6dea
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
doc/src/sgml/install-windows.sgml
src/tools/msvc/vcregress.pl