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

Add detailed DBD::SQLite error reporting to a couple of places where it was missing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/14_recent_changes_cookies.t

    r785 r958  
    5151
    5252# Now test that the prefs option is taken note of.
     53my $have_sqlite = 1;
     54my $sqlite_error;   
     55
    5356eval { require DBD::SQLite; };
    54 my $have_sqlite = $@ ? 0 : 1;
     57if ( $@ ) {
     58    ($sqlite_error) = $@ =~ /^(.*?)\n/;
     59    $have_sqlite = 0;
     60}
    5561
    5662SKIP: {
    57     skip "DBD::SQLite not installed - no database to test with", 2
     63    skip "DBD::SQLite could not be used - no database to test with. ($sqlite_error)", 2
    5864      unless $have_sqlite;
    5965
Note: See TracChangeset for help on using the changeset viewer.