com php-src: add --offline option to run-tests command: run-tests.php
| From: | Stanislav Malyshev | Date: | Mon, 01 Oct 2012 02:40:57 +0000 |
| Subject: | com php-src: add --offline option to run-tests command: run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-70281@lists.php.net to get a copy of this message | ||
Commit: dd093ac12aa4412a78dfecbf1e711f2dfd02ca7c
Author: Remi Collet <fedora@famillecollet.com> Tue, 25 Sep 2012 06:52:08 +0200
Committer: Stanislav Malyshev <stas@php.net> Sun, 30 Sep 2012 19:40:57 -0700
Parents: 79db2855f7a1c9d351922ae7b95e9d908bd24eb9
Branches: PHP-5..4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=dd093ac12aa4412a78dfecbf1e711f2dfd02ca7c
Log:
add --offline option to run-tests command
Changed paths:
M run-tests.php
Diff:
diff --git a/run-tests.php b/run-tests.php
index cfc562e..a746c36 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.