summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-09-25 06:52:08 +0200
committerStanislav Malyshev <stas@php.net>2012-09-30 19:40:57 -0700
commitdd093ac12aa4412a78dfecbf1e711f2dfd02ca7c (patch)
tree669a01c8a2337f716894afef5642d73eab33f5c0
parent79db2855f7a1c9d351922ae7b95e9d908bd24eb9 (diff)
downloadphp-git-dd093ac12aa4412a78dfecbf1e711f2dfd02ca7c.tar.gz
add --offline option to run-tests command
-rwxr-xr-xrun-tests.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/run-tests.php b/run-tests.php
index cfc562ebc1..a746c36965 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -632,6 +632,9 @@ if (isset($argc) && $argc > 1) {
case 'x':
$environment['SKIP_SLOW_TESTS'] = 1;
break;
+ case '--offline':
+ $environment['SKIP_ONLINE_TESTS'] = 1;
+ break;
//case 'w'
case '-':
// repeat check with full switch
@@ -689,6 +692,8 @@ Options:
-x Sets 'SKIP_SLOW_TESTS' environmental variable.
+ --offline Sets 'SKIP_ONLINE_TESTS' environmental variable.
+
--verbose
-v Verbose mode.