test-bot: don't run cmd taps generic tests.

This commit is contained in:
Mike McQuaid 2016-08-08 10:06:46 +01:00
parent 26fb38a739
commit 24f7e67131

View File

@ -662,13 +662,14 @@ module Homebrew
if @tap.nil? if @tap.nil?
tests_args = [] tests_args = []
tests_args_generic = []
tests_args_no_compat = [] tests_args_no_compat = []
if RUBY_TWO if RUBY_TWO
tests_args << "--official-cmd-taps" tests_args << "--official-cmd-taps"
tests_args_no_compat << "--coverage" if ARGV.include?("--coverage") tests_args_no_compat << "--coverage" if ARGV.include?("--coverage")
end end
test "brew", "tests", *tests_args test "brew", "tests", *tests_args
test "brew", "tests", "--generic", *tests_args test "brew", "tests", "--generic", *tests_args_generic
test "brew", "tests", "--no-compat", *tests_args_no_compat test "brew", "tests", "--no-compat", *tests_args_no_compat
test "brew", "readall", "--syntax" test "brew", "readall", "--syntax"
# TODO: try to fix this on Linux at some stage. # TODO: try to fix this on Linux at some stage.