brew-test-bot: install GCC if needed.

This commit is contained in:
Mike McQuaid 2014-01-25 16:21:50 +00:00
parent b89955002e
commit 8c6c644a6b

View File

@ -268,6 +268,12 @@ class Test
return
end
begin
CompilerSelector.new(formula_object).compiler
rescue CompilerSelectionError
test "brew install apple-gcc42"
end
test "brew fetch #{dependencies}" unless dependencies.empty?
formula_fetch_options = " "
formula_fetch_options << " --build-bottle" unless ARGV.include? '--no-bottle'