From 1cd0a47067a42720d6ca0c286eefce2beffe83c1 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 2 Jan 2015 13:36:01 +0000 Subject: [PATCH] tests.rb: use Homebrew.failed to send exit code. --- Library/Homebrew/cmd/tests.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/tests.rb b/Library/Homebrew/cmd/tests.rb index 93f70f8eb1..a74980fbd5 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