summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Tests/TestDriver.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/Tests/TestDriver.php b/Tests/TestDriver.php
index a7b6f09..871575c 100644
--- a/Tests/TestDriver.php
+++ b/Tests/TestDriver.php
@@ -98,7 +98,8 @@ $_test_names = array(
'StoreTest',
);
-function selectTests($names) {
+function selectTests($names)
+{
global $_test_names;
$lnames = array_map('strtolower', $names);
$include = array();
@@ -122,7 +123,8 @@ function selectTests($names) {
}
// Load OpenID library tests
-function loadSuite() {
+function loadSuite($names=null)
+{
global $_test_names;
global $_test_dir;
if ($names === null) {