]> granicus.if.org Git - php/commitdiff
add --offline option to run-tests command
authorRemi Collet <fedora@famillecollet.com>
Tue, 25 Sep 2012 04:52:08 +0000 (06:52 +0200)
committerStanislav Malyshev <stas@php.net>
Mon, 1 Oct 2012 02:40:57 +0000 (19:40 -0700)
run-tests.php

index cfc562ebc15dedd268fa9aade4cc3e4350da4d42..a746c369653ccdbf4bcde6ffb9bee66549ada732 100755 (executable)
@@ -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.