diff options
| author | Mike McQuaid | 2017-04-22 12:26:18 +0100 | 
|---|---|---|
| committer | Mike McQuaid | 2017-04-22 12:49:14 +0100 | 
| commit | a6df701fad516a1da54ea245fb47826d47dc03b5 (patch) | |
| tree | a60cec8272fa08f6409c0e46a483322e604f13c9 /Library/Homebrew/dev-cmd/tests.rb | |
| parent | 268f2dbde2f157bab14518a2d725a111a44e00a3 (diff) | |
| download | brew-a6df701fad516a1da54ea245fb47826d47dc03b5.tar.bz2 | |
tests: reduce some noise.
- Tweak the way offline skipping happens
- Skip more tests that break when offline
- Hide more stdout output from tests.
Diffstat (limited to 'Library/Homebrew/dev-cmd/tests.rb')
| -rw-r--r-- | Library/Homebrew/dev-cmd/tests.rb | 7 | 
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/tests.rb b/Library/Homebrew/dev-cmd/tests.rb index 6862c9a79..72d6143fc 100644 --- a/Library/Homebrew/dev-cmd/tests.rb +++ b/Library/Homebrew/dev-cmd/tests.rb @@ -33,7 +33,12 @@ module Homebrew        ENV["HOMEBREW_DEVELOPER"] = "1"        ENV["HOMEBREW_NO_COMPAT"] = "1" if ARGV.include? "--no-compat"        ENV["HOMEBREW_TEST_GENERIC_OS"] = "1" if ARGV.include? "--generic" -      ENV["HOMEBREW_NO_GITHUB_API"] = "1" unless ARGV.include? "--online" + +      if ARGV.include? "--online" +        ENV["HOMEBREW_TEST_ONLINE"] = "1" +      else +        ENV["HOMEBREW_NO_GITHUB_API"] = "1" +      end        if ARGV.include? "--official-cmd-taps"          ENV["HOMEBREW_TEST_OFFICIAL_CMD_TAPS"] = "1"  | 
