Changeset 956 for trunk/t/12_macros.t


Ignore:
Timestamp:
Mar 20, 2007, 4:47:05 PM (15 years ago)
Author:
Earle Martin
Message:

Complete transition to using skip_all (remove old SKIP blocks).
More verbose reporting for error "require"ing DBD::SQLite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/12_macros.t

    r949 r956  
    77eval { require DBD::SQLite; };
    88
    9 if ($@) {
    10     plan skip_all => "DBD::SQLite not installed - no database to test with";
    11 } else {
    12     plan tests => 10;
     9if ( $@ ) {
     10    my ($error) = $@ =~ /^(.*?)\n/;
     11    plan skip_all => "DBD::SQLite could not be used - no database to test with. ($error)";
    1312}
     13
     14plan tests => 10;
    1415
    1516SKIP: {
Note: See TracChangeset for help on using the changeset viewer.