[Rt-commit] r2035 - in DBIx-SearchBuilder/trunk: . t
jesse at bestpractical.com
jesse at bestpractical.com
Wed Dec 29 15:44:49 EST 2004
Author: jesse
Date: Wed Dec 29 15:44:48 2004
New Revision: 2035
Modified:
DBIx-SearchBuilder/trunk/ (props changed)
DBIx-SearchBuilder/trunk/t/00.load.t
Log:
r2522 at hualien: jesse | 2004-12-29T20:43:17.908428Z
Fixes for smoke testing without DBD::Oracle from Ruslan
Modified: DBIx-SearchBuilder/trunk/t/00.load.t
==============================================================================
--- DBIx-SearchBuilder/trunk/t/00.load.t (original)
+++ DBIx-SearchBuilder/trunk/t/00.load.t Wed Dec 29 15:44:48 2004
@@ -6,7 +6,11 @@
BEGIN { use_ok( "DBIx::SearchBuilder::Handle::mysql" ); }
BEGIN { use_ok( "DBIx::SearchBuilder::Handle::mysqlPP" ); }
BEGIN { use_ok( "DBIx::SearchBuilder::Handle::ODBC" ); }
-BEGIN { use_ok( "DBIx::SearchBuilder::Handle::Oracle" ); }
+BEGIN {
+SKIP: {
+ skip "DBD::Oracle is not installed", 1 unless eval { require DBD::Oracle };
+ use_ok( "DBIx::SearchBuilder::Handle::Oracle" );
+} }
BEGIN { use_ok( "DBIx::SearchBuilder::Handle::Pg" ); }
BEGIN { use_ok( "DBIx::SearchBuilder::Handle::Sybase" ); }
BEGIN { use_ok( "DBIx::SearchBuilder::Handle::SQLite" ); }
More information about the Rt-commit
mailing list