Fix CI tests

This commit is contained in:
Timothy Warren 2012-05-29 16:34:45 -04:00
parent 35b21c31a5
commit 2b0d1c207e

View File

@ -40,7 +40,7 @@ $test_path = QTEST_DIR.'/databases/';
foreach(pdo_drivers() as $d) foreach(pdo_drivers() as $d)
{ {
// PDO firebird isn't stable enough to // PDO firebird isn't stable enough to
// bother, so skip it. // bother, so skip it.
if ($d === 'firebird') if ($d === 'firebird')
{ {
@ -48,7 +48,7 @@ foreach(pdo_drivers() as $d)
} }
$src_dir = "{$test_path}{$d}"; $src_dir = "{$test_path}{$d}";
if(is_dir($src_dir)) if(is_dir($src_dir))
{ {
require_once("{$test_path}{$d}/{$d}.php"); require_once("{$test_path}{$d}/{$d}.php");
@ -57,7 +57,7 @@ foreach(pdo_drivers() as $d)
} }
// Load Firebird if there is support // Load Firebird if there is support
if(function_exists('fbird_connect')) if (function_exists('fbird_connect') && ! ($var = getenv('CI')))
{ {
require_once("{$test_path}/firebird/firebird.php"); require_once("{$test_path}/firebird/firebird.php");
require_once("{$test_path}/firebird/firebird-qb.php"); require_once("{$test_path}/firebird/firebird-qb.php");