Philippe M. Chiasson wrote:
> a release candidate for Apache::Test 1.15 is now available for testing.
any way to sneak in this minor patch? it fixes cases where there are
multiple all.t files present (such as t/foo/all.t and t/bar/all.t) and more
than one fail - currently directories are properly ignored but only the last
directory's all.t file is run and shown in the output because prior failing
all.t files are (improperly) pruned along with all the other files in the
directory.
--Geoff
Index: lib/Apache/TestHarness.pm
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestHarness.pm,v
retrieving revision 1.20
diff -u -r1.20 TestHarness.pm
--- lib/Apache/TestHarness.pm 17 Sep 2004 18:24:13 -0000 1.20
+++ lib/Apache/TestHarness.pm 20 Oct 2004 04:42:01 -0000
@@ -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, $_;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]