]> granicus.if.org Git - postgresql/commit
Expand properly list of TAP tests used for prove in vcregress.pl
authorMichael Paquier <michael@paquier.xyz>
Wed, 11 Sep 2019 02:07:39 +0000 (11:07 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 11 Sep 2019 02:07:39 +0000 (11:07 +0900)
commite25c87a8e1a86b88911df81504d92235cdb49b6b
tree383f54bee319311903fa6d93216c2fc93c42f5c6
parent5f0b71ee8532f54f3e1333853fd96293ca4aab9a
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