Skip to content

Commit dd093ac

Browse files
remicolletsmalyshev
authored andcommitted
add --offline option to run-tests command
1 parent 79db285 commit dd093ac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

run-tests.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,9 @@ function save_or_mail_results()
632632
case 'x':
633633
$environment['SKIP_SLOW_TESTS'] = 1;
634634
break;
635+
case '--offline':
636+
$environment['SKIP_ONLINE_TESTS'] = 1;
637+
break;
635638
//case 'w'
636639
case '-':
637640
// repeat check with full switch
@@ -689,6 +692,8 @@ function save_or_mail_results()
689692
690693
-x Sets 'SKIP_SLOW_TESTS' environmental variable.
691694
695+
--offline Sets 'SKIP_ONLINE_TESTS' environmental variable.
696+
692697
--verbose
693698
-v Verbose mode.
694699

0 commit comments

Comments
 (0)