diff options
| author | Mike McQuaid | 2015-01-02 13:36:01 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-04 11:05:34 +0000 |
| commit | 1cd0a47067a42720d6ca0c286eefce2beffe83c1 (patch) | |
| tree | d29cb8013826aed0c8b5aef309797ca6ef44ca52 | |
| parent | bd334c55a00d006168c767ea0442df7d6a1954ea (diff) | |
| download | brew-1cd0a47067a42720d6ca0c286eefce2beffe83c1.tar.bz2 | |
tests.rb: use Homebrew.failed to send exit code.
| -rw-r--r-- | Library/Homebrew/cmd/tests.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/tests.rb b/Library/Homebrew/cmd/tests.rb index 93f70f8eb..a74980fbd 100644 --- a/Library/Homebrew/cmd/tests.rb +++ b/Library/Homebrew/cmd/tests.rb @@ -6,7 +6,7 @@ module Homebrew quiet_system("bundle", "check") || \ system("bundle", "install", "--path", "vendor/bundle") system "bundle", "exec", "rake", "test" - exit $?.exitstatus + Homebrew.failed = !$?.success? end end end |
