aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-01-25 16:21:50 +0000
committerMike McQuaid2014-01-25 22:02:35 +0100
commit8c6c644a6b1ae4d3ae377fbb4a869aaa1ce84095 (patch)
tree6a860a82c01697ee513e0307f387d266d9e098d9 /Library
parentb89955002edf1a414aae5adba69f09191ec5bad5 (diff)
downloadbrew-8c6c644a6b1ae4d3ae377fbb4a869aaa1ce84095.tar.bz2
brew-test-bot: install GCC if needed.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-test-bot.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb
index 9f9a27f86..504c34a2c 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'