summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Hoyt <josh@janrain.com>2005-12-24 08:13:45 +0000
committerJosh Hoyt <josh@janrain.com>2005-12-24 08:13:45 +0000
commitf0077bb7e297e5d6a6d40a1cb81f68704ad73d17 (patch)
tree893dd660b6a76da06d19f9467eae4281cfac7ae4
parentdc0b3fc07cfbc0fc0bd82a0bd21f3eabed8a1887 (diff)
downloadphp-openid-f0077bb7e297e5d6a6d40a1cb81f68704ad73d17.zip
php-openid-f0077bb7e297e5d6a6d40a1cb81f68704ad73d17.tar.gz
php-openid-f0077bb7e297e5d6a6d40a1cb81f68704ad73d17.tar.bz2
[project @ Added support for thorough command-line flag for text-based test driver]
-rw-r--r--texttest.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/texttest.php b/texttest.php
index 9a01aa4..2aed0dd 100644
--- a/texttest.php
+++ b/texttest.php
@@ -36,6 +36,14 @@ function microtime_float()
return ((float)$usec + (float)$sec);
}
+// Drop $argv[0] (command name)
+array_shift($argv);
+
+$t = array_search('thorough', $argv);
+if ($t !== FALSE && $t !== NULL) {
+ define('Tests_Net_OpenID_DH_thorough', TRUE);
+}
+
$suites = loadSuite();
$totals = array(