Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit56b6ef8

Browse files
committed
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 emptysetting in the global Makefile so that the value can be acquired fromthe environment as well as from the make arguments.Backpatch to 9.4 where we introduced TAP tests
1 parentb757e01 commit56b6ef8

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

‎src/Makefile.global.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,8 @@ PROVE = @PROVE@
339339
# There are common routines in src/test/perl, and some test suites have
340340
# extra perl modules in their own directory.
341341
PG_PROVE_FLAGS = -I$(top_srcdir)/src/test/perl/ -I$(srcdir)
342-
#For more info, add to your make line:PROVE_FLAGS='--verbose'
343-
PROVE_FLAGS =
342+
#User-supplied prove flags such as --verbose can be provided inPROVE_FLAGS.
343+
344344

345345
# prepend to path if already set, else just set it
346346
defineadd_to_path

‎src/tools/msvc/vcregress.pl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,10 @@ sub tap_check
181181
my$dir =shift;
182182
chdir$dir;
183183

184-
my@args = ("prove","--verbose","t/*.pl");
184+
my@flags;
185+
@flags =split(/\s+/,$ENV{PROVE_FLAGS})ifexists$ENV{PROVE_FLAGS};
186+
187+
my@args = ("prove",@flags,"t/*.pl");
185188

186189
# adjust the environment for just this test
187190
local%ENV =%ENV;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp