Merge pull request #861 from MikeMcQuaid/test-bot-no-tests-with-formulae

test-bot: don't run brew tests etc. when formulae.
This commit is contained in:
Mike McQuaid 2016-09-04 10:58:35 +01:00 committed by GitHub
commit f19ad51734

View File

@ -649,7 +649,7 @@ module Homebrew
@category = __method__
return if @skip_homebrew
if @tap.nil?
if @tap.nil? && Array(@formulae).empty?
tests_args = ["--official-cmd-taps"]
tests_args_no_compat = []
tests_args_no_compat << "--coverage" if ARGV.include?("--coverage")