Ignore:
Timestamp:
Mar 9, 2007, 2:35:49 PM (14 years ago)
Author:
kake
Message:

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

File:
1 edited

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 ) {
Note: See TracChangeset for help on using the changeset viewer.