You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@httpd.apache.org by Rodent of Unusual Size <Ke...@Golux.Com> on 2001/11/29 16:36:42 UTC
Re: example of a t/SKIP file?
Doing this on Win32 (NT4), I have a t\SKIP file containing:
modules/dav
ssl/all
And yet I get these when running t\TEST. And yes, I've tried it
with sloshes rather than slashes. Is it checking for requirements
*before* checking t\SKIP?
modules\dav.........skipped: cannot find module 'dav', cannot find module 'HTTP::DAV'
ssl\all.............skipped: cannot find module 'mod_ssl', cannot find module 'LWP::Protocol::https'
--
#ken P-)}
Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/
Author, developer, opinionist http://Apache-Server.Com/
"All right everyone! Step away from the glowing hamburger!"
Re: example of a t/SKIP file?
Posted by Stas Bekman <st...@stason.org>.
Rodent of Unusual Size wrote:
> Stas Bekman wrote:
>
>>>modules\\dav
>>>ssl\\all
>>>
>>May be the SKIP file's parser should complain when it cannot find the
>>specified files?
>>
>
> No, I don't think so -- then you'd have to special-case wildcards.
That's easy to solve, wildchars can be detected and expanded. Is glob()
a portable function?
> I'd just rather it was consistent -- and even better, platform-neutral.
> I like OtherBill's :: syntax. I would like to see it come up into
> 't/TEST modules::dav", too.
I guess I'm unix biased, but I don't like it at all. For example you
cannot do path completion and use unix tools to feed paths to t/TEST.
On the other hand we could support a few separators and make them do the
right thing on each platform.
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas@stason.org http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Re: example of a t/SKIP file?
Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
Stas Bekman wrote:
>
> > modules\\dav
> > ssl\\all
>
> May be the SKIP file's parser should complain when it cannot find the
> specified files?
No, I don't think so -- then you'd have to special-case wildcards.
I'd just rather it was consistent -- and even better, platform-neutral.
I like OtherBill's :: syntax. I would like to see it come up into
't/TEST modules::dav", too.
--
#ken P-)}
Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/
Author, developer, opinionist http://Apache-Server.Com/
"All right everyone! Step away from the glowing hamburger!"
Re: example of a t/SKIP file?
Posted by Stas Bekman <st...@stason.org>.
Rodent of Unusual Size wrote:
> Rodent of Unusual Size wrote:
>
>>Doing this on Win32 (NT4), I have a t\SKIP file containing:
>>
>>modules/dav
>>ssl/all
>>
>
> Stone me! OtherBill was right; these need to be specified as
>
> modules\\dav
> ssl\\all
>
> on Win32. Bleargh..
May be the SKIP file's parser should complain when it cannot find the
specified files?
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas@stason.org http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Re: example of a t/SKIP file?
Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
Still on the subject of t/SKIP.. I would personally like to
see the skipped tests listed in the output, like
modules/dav.........skipped: listed in t/SKIP
or something.
--
#ken P-)}
Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/
Author, developer, opinionist http://Apache-Server.Com/
"All right everyone! Step away from the glowing hamburger!"
Re: example of a t/SKIP file?
Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
"William A. Rowe, Jr." wrote:
>
> I'd like to see the modules::dav syntax adopted
+1
> This would certainly make things more consistent/simple to document.
Don't you mean 'more consistent::simple'? :-)
--
#ken P-)}
Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/
Author, developer, opinionist http://Apache-Server.Com/
"All right everyone! Step away from the glowing hamburger!"
Re: example of a t/SKIP file?
Posted by "William A. Rowe, Jr." <wr...@covalent.net>.
From: "Rodent of Unusual Size" <Ke...@Golux.Com>
Sent: Thursday, November 29, 2001 10:06 AM
> Rodent of Unusual Size wrote:
> >
> > Doing this on Win32 (NT4), I have a t\SKIP file containing:
> >
> > modules/dav
> > ssl/all
>
> Stone me! OtherBill was right; these need to be specified as
>
> modules\\dav
> ssl\\all
>
> on Win32. Bleargh..
I'd like to see the modules::dav syntax adopted, or canonicalize the item
being compared into slash notation, or single backslashes into doubles.
I am guessing that :: syntax makes the most sense, in a platform-neutral way.
This would certainly make things more consistent/simple to document.
Re: example of a t/SKIP file?
Posted by Doug MacEachern <do...@covalent.net>.
On Thu, 29 Nov 2001, Rodent of Unusual Size wrote:
> modules\\dav
> ssl\\all
modules.dav
ssl.all
should work on both platforms, since '.' will match the / on unix and \ on
win32.
Re: example of a t/SKIP file?
Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
Rodent of Unusual Size wrote:
>
> Doing this on Win32 (NT4), I have a t\SKIP file containing:
>
> modules/dav
> ssl/all
Stone me! OtherBill was right; these need to be specified as
modules\\dav
ssl\\all
on Win32. Bleargh..
Thanks, Bill!
--
#ken P-)}
Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/
Author, developer, opinionist http://Apache-Server.Com/
"All right everyone! Step away from the glowing hamburger!"