mirror of
https://github.com/mirror/wget.git
synced 2025-03-03 14:20:34 +08:00
* tests/WgetTests.pm: Support to set the wget executable for testing
This commit is contained in:
parent
4cdda68752
commit
0751d053f5
@ -13,7 +13,13 @@ use IO::Handle;
|
||||
use POSIX qw(locale_h);
|
||||
use locale;
|
||||
|
||||
if (defined $ENV{'WGET_PATH'}) {
|
||||
our $WGETPATH = $ENV{'WGET_PATH'} . ' -d --no-config';
|
||||
} else {
|
||||
our $WGETPATH = '../src/wget -d --no-config';
|
||||
}
|
||||
|
||||
|
||||
our $VALGRIND_SUPP_FILE = Cwd::getcwd();
|
||||
if (defined $ENV{'srcdir'}) {
|
||||
$VALGRIND_SUPP_FILE = $VALGRIND_SUPP_FILE
|
||||
|
Loading…
Reference in New Issue
Block a user