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
commit0b8dcc66a68216e44047dfd9048cf7fa9a74934b (patch)
tree752cd05dcb5acec54b4978c414421f7df212cfde /Library
parent9f6de2e60949236c99184650ff03a6d1d4943bbe (diff)
downloadhomebrew-0b8dcc66a68216e44047dfd9048cf7fa9a74934b.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'