Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9d6e1ec

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 d06215d commit 9d6e1ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/msvc/vcregress.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ sub tap_check
207207
my $dir = shift;
208208
chdir $dir;
209209

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

212212
# adjust the environment for just this test
213213
local %ENV = %ENV;

0 commit comments

Comments
 (0)