httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: Skipping subtests?
Date Thu, 08 Nov 2001 15:59:20 GMT
Rodent of Unusual Size wrote:

> Doug MacEachern wrote:
> 
>>    skip 'no foo';
>>
>>prints:
>>1..2
>>ok 1
>>ok 2 # skip no foo
>>
> 
> Not for me it doesn't; it prints 'Not enough arguments for Test::skip'.

I think that should be:

  if ($condition) {
    ok ...
    ok...
  }
  else
    skip $reason, $how_many_to_skip; # e.g. 2
  }

that's according to Test::Harness manpage. May be you have different 
versions?

_____________________________________________________________________
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/


Mime
View raw message