mirror of
https://github.com/mirror/wget.git
synced 2025-01-06 18:30:38 +08:00
Fixes to make tests work when building outside the sources directory.
This commit is contained in:
parent
fb7916aa1d
commit
38b873e951
@ -1,3 +1,9 @@
|
||||
2009-02-25 Benjamin Wolsey <bwy@benjaminwolsey.de>
|
||||
|
||||
* Makefile.am (run-px-tests): Ensure run-px is run from srcdir.
|
||||
|
||||
* run-px: Include modules from srcdir.
|
||||
|
||||
2008-11-25 Steven Schubiger <stsc@members.fsf.org>
|
||||
|
||||
* WgetTest.pm.in: Remove the magic interpreter line;
|
||||
|
@ -55,7 +55,7 @@ run-unit-tests: unit-tests$(EXEEXT)
|
||||
./unit-tests$(EXEEXT)
|
||||
|
||||
run-px-tests: WgetTest.pm ../src/wget$(EXEEXT)
|
||||
./run-px $(top_srcdir)
|
||||
$(srcdir)/run-px $(top_srcdir)
|
||||
|
||||
EXTRA_DIST = FTPServer.pm FTPTest.pm HTTPServer.pm HTTPTest.pm \
|
||||
Test-auth-basic.px Test-c-full.px Test-c-partial.px \
|
||||
|
@ -59,7 +59,7 @@ my @tested;
|
||||
|
||||
foreach my $test (@tests) {
|
||||
print "Running $test\n\n";
|
||||
system("$^X $top_srcdir/tests/$test");
|
||||
system("$^X -I$top_srcdir/tests $top_srcdir/tests/$test");
|
||||
push @tested, { name => $test, result => $? };
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user