aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2015-01-02 13:36:01 +0000
committerMike McQuaid2015-01-04 11:05:34 +0000
commit6aaf7f093edcf243fe8aca17726bef003c11f2bd (patch)
tree694684c92c9c96688b3d10cd94d1c133cc6f1fa6
parent91c267bdb1607334febaac3272ccc62ada6ae4fd (diff)
downloadhomebrew-6aaf7f093edcf243fe8aca17726bef003c11f2bd.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