diff options
Diffstat (limited to '_test/lib/testmanager.php')
-rw-r--r-- | _test/lib/testmanager.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/_test/lib/testmanager.php b/_test/lib/testmanager.php index def86ca27..14cc20bf3 100644 --- a/_test/lib/testmanager.php +++ b/_test/lib/testmanager.php @@ -7,7 +7,7 @@ define('TEST_GROUPS',realpath(dirname(__FILE__).'/../cases')); define('TEST_CASES',realpath(dirname(__FILE__).'/../cases')); // try to load runkit extension -if (!extension_loaded('runkit')) { +if (!extension_loaded('runkit') && function_exists('dl')) { if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) { @dl('php_runkit.dll'); } else { @@ -15,7 +15,6 @@ if (!extension_loaded('runkit')) { } } - class TestManager { var $_testcase_extension = '.test.php'; var $_grouptest_extension = '.group.php'; |