Expand properly list of TAP tests used for prove in vcregress.pl
authorMichael Paquier <[email protected]>
Wed, 11 Sep 2019 02:08:48 +0000 (11:08 +0900)
committerMichael Paquier <[email protected]>
Wed, 11 Sep 2019 02:08:48 +0000 (11:08 +0900)
commit3d12829ccb16c582140d515a3a558d8aa5692ed0
tree56793c2d5253660f4f7ba34cda009408f6c27d20
parent3e5cf72f96681fecac88d892978c36c7a834ca02
Expand properly list of TAP tests used for prove in vcregress.pl

Depending on the system used, t/*.pl may not be expanded into a list of
tests which can be consumed by prove when attempting to run TAP tests on
a given path.  Fix that by using glob() directly in the script, to make
sure that a complete list of tests is provided.  This has not proved to
be an issue with MSVC as the list was properly expanded, but it is on
Linux with perl's system().

This is extracted from a larger patch.

Author: Tom Lane
Discussion: https://postgr.es/m/6628.1567958876@sss.pgh.pa.us
Backpatch-through: 9.4
src/tools/msvc/vcregress.pl