4 error_reporting(E_ALL
);
5 defined('AK_TEST_DATABASE_ON') ?
null : define('AK_TEST_DATABASE_ON', true);
6 defined('AK_ACTIVE_RECORD_PROTECT_GET_RECURSION') ?
null : define('AK_ACTIVE_RECORD_PROTECT_GET_RECURSION', false);
7 require_once(dirname(__FILE__
).DIRECTORY_SEPARATOR
.'..'.DIRECTORY_SEPARATOR
.'test'.DIRECTORY_SEPARATOR
.'fixtures'.DIRECTORY_SEPARATOR
.'config'.DIRECTORY_SEPARATOR
.'config.php');
8 $argv = array_map('trim',$argv);
10 $tests_dir = realpath(dirname(__FILE__
).DIRECTORY_SEPARATOR
.'..'.DIRECTORY_SEPARATOR
.'test');
11 require_once(AK_LIB_DIR
.DS
.'utils'.DS
.'scripts'.DS
.'test.php');