From 8c6c644a6b1ae4d3ae377fbb4a869aaa1ce84095 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 25 Jan 2014 16:21:50 +0000 Subject: [PATCH] brew-test-bot: install GCC if needed. --- Library/Contributions/cmd/brew-test-bot.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index 9f9a27f86e..504c34a2c9 100755 --- a/Library/Contributions/cmd/brew-test-bot.rb +++ b/Library/Contributions/cmd/brew-test-bot.rb @@ -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'