httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ebinc" <eb...@bellatlantic.net>
Subject Re: cvs commit: httpd-test/perl-framework/t/apache getfile.t
Date Wed, 05 Dec 2001 09:00:07 GMT
Does any one know how to unsubscribe from this list? Ive been on the site
but cannot find were it is you guys are way out of my league Im just a
beginner
----- Original Message -----
From: Doug MacEachern <dougm@covalent.net>
To: <test-dev@httpd.apache.org>
Sent: Tuesday, December 04, 2001 2:10 PM
Subject: Re: cvs commit: httpd-test/perl-framework/t/apache getfile.t


> On Wed, 5 Dec 2001, Stas Bekman wrote:
>
> > having two places where the test can be told to skip is confusing.
>
> confusing to who?  have you forgotten the perl motto?
>
> > So you only want to preserve:
> >
> >    plan tests => $tests, ['lwp', 'cgi'];
>
> and anything else that currently works, like:
>
> plan tests => $tests, \&have_foo;
>
> > i.e. the ref eq ARRAY part in the original implementation of overloaded
> > plan().
> >
> > Otherwise I think I can fit skip_unless as a function that can handle
> > *any* requirement. e.g.:
> >
> > +  skip_unless({sub {$a==$b} => "$a != $b!"
> > +               sub {$a==1}  => "$a != 1!"},
> > +              'LWP',
> > +              'cgi_d',
> > +               {sub {0} => "forced to be skipped"},
> > +             );
> >
> > is that ok?
>
> making skip_unless more robust is fine.  but keep in mind, the common case
> uses the original shorthand syntax.  we only needed to add skip_unless for
> rare cases when the skip reason was unknown.
>
>


Mime
View raw message