tests.rb: use Homebrew.failed to send exit code.

This commit is contained in:
Mike McQuaid 2015-01-02 13:36:01 +00:00
parent bd334c55a0
commit 1cd0a47067

View File

@ -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