aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2015-01-02 13:36:01 +0000
committerMike McQuaid2015-01-04 11:05:34 +0000
commit1cd0a47067a42720d6ca0c286eefce2beffe83c1 (patch)
treed29cb8013826aed0c8b5aef309797ca6ef44ca52
parentbd334c55a00d006168c767ea0442df7d6a1954ea (diff)
downloadbrew-1cd0a47067a42720d6ca0c286eefce2beffe83c1.tar.bz2
tests.rb: use Homebrew.failed to send exit code.
-rw-r--r--Library/Homebrew/cmd/tests.rb2
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