Show
Ignore:
Timestamp:
03/09/07 14:35:49 (5 years ago)
Author:
kake
Message:

Explicitly skip tests if no backends configured, to avoid spurious test failure reports.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • wiki-toolkit-plugin-categoriser/trunk/t/nested_categories.t

    r261 r382  
    55 
    66my $iterator = Wiki::Toolkit::TestLib->new_wiki_maker; 
    7 plan tests => ( $iterator->number * 1 ); 
     7if ( $iterator->number ) { 
     8    plan tests => ( $iterator->number * 1 ); 
     9} else { 
     10    plan skip_all => "No backends configured."; 
     11} 
    812 
    913while ( my $wiki = $iterator->new_wiki ) {