Fix test loading

This commit is contained in:
Timothy Warren 2012-04-10 22:12:46 -04:00
parent db47f15fdd
commit 4b5bc8ff5e

View File

@ -59,7 +59,8 @@ foreach(pdo_drivers() as $d)
if(is_dir($src_dir)) if(is_dir($src_dir))
{ {
array_map('do_include', glob($src_path.$d.'/*.php')); array_map('do_include', glob($src_path.$d.'/*.php'));
array_map('do_include', glob($test_path.$d.'/*.php')); require_once("{$test_path}{$d}/{$d}.php");
require_once("{$test_path}{$d}/{$d}-qb.php");
} }
} }
@ -67,5 +68,6 @@ foreach(pdo_drivers() as $d)
if(function_exists('fbird_connect')) if(function_exists('fbird_connect'))
{ {
array_map('do_include', glob($src_path.'firebird/*.php')); array_map('do_include', glob($src_path.'firebird/*.php'));
array_map('do_include', glob($test_path.'firebird/*.php')); require_once("{$test_path}firebird/firebird.php");
require_once("{$test_path}firebird/firebird-qb.php");
} }