Skip to content

Commit 3d12829

Browse files
committed
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
1 parent 3e5cf72 commit 3d12829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/msvc/vcregress.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ sub tap_check
188188
my $dir = shift;
189189
chdir $dir;
190190

191-
my @args = ("prove", @flags, "t/*.pl");
191+
my @args = ("prove", @flags, glob("t/*.pl"));
192192

193193
# adjust the environment for just this test
194194
local %ENV = %ENV;

0 commit comments

Comments
 (0)