httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: example of a t/SKIP file?
Date Tue, 23 Oct 2001 02:05:23 GMT
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

# skip all files in protocol

# skip basic cgi test


# skip all filter/input_* files

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      mod_perl Guide

View raw message