mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Honor PROVE_FLAGS environment setting
On MSVC builds and on back branches that means removing the hardcoded --verbose setting. On master for Unix that means removing the empty setting in the global Makefile so that the value can be acquired from the environment as well as from the make arguments. Backpatch to 9.4 where we introduced TAP tests
This commit is contained in:
@ -181,7 +181,10 @@ sub tap_check
|
||||
my $dir = shift;
|
||||
chdir $dir;
|
||||
|
||||
my @args = ("prove", "--verbose", "t/*.pl");
|
||||
my @flags;
|
||||
@flags = split(/\s+/,$ENV{PROVE_FLAGS}) if exists $ENV{PROVE_FLAGS};
|
||||
|
||||
my @args = ("prove", @flags, "t/*.pl");
|
||||
|
||||
# adjust the environment for just this test
|
||||
local %ENV = %ENV;
|
||||
|
Reference in New Issue
Block a user