add --offline option to run-tests command

This commit is contained in:
Remi Collet 2012-09-25 06:52:08 +02:00 committed by Stanislav Malyshev
parent 79db2855f7
commit dd093ac12a

View file

@ -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.