mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
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
This commit is contained in:
parent
5f0b71ee85
commit
e25c87a8e1
@ -200,7 +200,7 @@ sub tap_check
|
|||||||
my $dir = shift;
|
my $dir = shift;
|
||||||
chdir $dir;
|
chdir $dir;
|
||||||
|
|
||||||
my @args = ("prove", @flags, "t/*.pl");
|
my @args = ("prove", @flags, glob("t/*.pl"));
|
||||||
|
|
||||||
# adjust the environment for just this test
|
# adjust the environment for just this test
|
||||||
local %ENV = %ENV;
|
local %ENV = %ENV;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user