geoff 2004/10/22 19:11:13
Modified: perl-framework/Apache-Test Changes perl-framework/Apache-Test/lib/Apache TestHarness.pm Log: fix problem with multiple all.t files where only the final file was being run through the test harness Revision Changes Path 1.185 +3 -0 httpd-test/perl-framework/Apache-Test/Changes Index: Changes =================================================================== RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/Changes,v retrieving revision 1.184 retrieving revision 1.185 diff -u -r1.184 -r1.185 --- Changes 22 Oct 2004 22:09:54 -0000 1.184 +++ Changes 23 Oct 2004 02:11:12 -0000 1.185 @@ -8,6 +8,9 @@ =item 1.16-dev +fix problem with multiple all.t files where only the final +file was being run through the test harness. [Geoffrey Young] + Documented that redirection does not with "POST" requests in Apache::TestRequest unless LWP is installed. Also modified the redirect_ok() method to ensure that such is the case. 1.21 +1 -1 httpd-test/perl-framework/Apache-Test/lib/Apache/TestHarness.pm Index: TestHarness.pm =================================================================== RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestHarness.pm,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- TestHarness.pm 17 Sep 2004 18:24:13 -0000 1.20 +++ TestHarness.pm 23 Oct 2004 02:11:13 -0000 1.21 @@ -116,7 +116,7 @@ if (m:\Wall\.t$:) { unless ($self->run_t($_)) { $skip_dirs{$dir} = 1; - @new_tests = grep { not $skip_dirs{dirname $_} } @new_tests; + @new_tests = grep { m:\Wall\.t$: || not $skip_dirs{dirname $_} } @new_tests; push @new_tests, $_; } }