From 2b0d1c207e6016e0fc114096b7900b6dfd01e45d Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Tue, 29 May 2012 16:34:45 -0400 Subject: [PATCH] Fix CI tests --- tests/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/index.php b/tests/index.php index bc4550b..851771e 100644 --- a/tests/index.php +++ b/tests/index.php @@ -40,7 +40,7 @@ $test_path = QTEST_DIR.'/databases/'; foreach(pdo_drivers() as $d) { - // PDO firebird isn't stable enough to + // PDO firebird isn't stable enough to // bother, so skip it. if ($d === 'firebird') { @@ -48,7 +48,7 @@ foreach(pdo_drivers() as $d) } $src_dir = "{$test_path}{$d}"; - + if(is_dir($src_dir)) { require_once("{$test_path}{$d}/{$d}.php"); @@ -57,7 +57,7 @@ foreach(pdo_drivers() as $d) } // 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-qb.php");