Re: example of a t/SKIP file?
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?
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. -- #kenP-)} 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?
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:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Re: example of a t/SKIP file?
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. -- #kenP-)} 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?
"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'? :-) -- #kenP-)} 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?
From: "Rodent of Unusual Size" <[EMAIL PROTECTED]> 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?
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:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Re: example of a t/SKIP file?
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! -- #kenP-)} 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?
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' -- #kenP-)} 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?
clayton cottingham wrote: in Re: Winnow? Doug M said: - create a t/SKIP file with passing tests setenvif.t access.t etc.t could someone give me a short example of this SKIP file sure, for example in mod_perl-2.0 setup t/SKIP: --- # skip all files in protocol protocol # skip basic cgi test modules/cgi # skip all filter/input_* files filter/input* If you want to skip completely a directory, specify the name of the directory as in the protocol dir in the last example. But since the skipping is done based on matching the skip patterns from t/SKIP against a list of potential tests to be run, some other tests may be skipped as well if they match the pattern. e.g. if there was a test named cgi/protocol it'll be skipped to using the last example's SKIP file. So if you want to skip a complete directory you may create instead a file all.t in that directory, and it should print "1..0\n". _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
example of a t/SKIP file?
in Re: Winnow? Doug M said: - create a t/SKIP file with passing tests setenvif.t access.t etc.t could someone give me a short example of this SKIP file