Show
Ignore:
Timestamp:
06/06/06 11:13:39 (6 years ago)
Author:
nick
Message:

Correctly calculate (and skip) the number of tests when backends aren't configured

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • wiki-toolkit/trunk/t/303_feed_atom_node_all_versions.t

    r310 r321  
    44use URI::Escape; 
    55 
     6# Note - update the count in the skip block to match the number here 
     7#        we would put the number in a variable, but that doesn't seem to work 
    68use Test::More tests => 
    79  (3 + 14 * $Wiki::Toolkit::TestConfig::Utilities::num_stores); 
     
    2224while ( ($store_name, $store) = each %stores ) { 
    2325  SKIP: { 
    24       skip "$store_name storage backend not configured for testing", 11 
     26      skip "$store_name storage backend not configured for testing", 14 
    2527          unless $store; 
    2628