diff options
Diffstat (limited to 'Tests/TestDriver.php')
-rw-r--r-- | Tests/TestDriver.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/TestDriver.php b/Tests/TestDriver.php index 8065975..fa3b494 100644 --- a/Tests/TestDriver.php +++ b/Tests/TestDriver.php @@ -18,6 +18,7 @@ require_once 'PHPUnit/GUI/HTML.php'; error_reporting(E_ALL); +global $__test_errors; $__test_errors = array(); function __handler($code, $message) @@ -62,6 +63,7 @@ function __getError() */ function loadTests($test_dir, $test_names) { + global $_tests; $suites = array(); foreach ($test_names as $filename) { |