aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-09-18 17:07:11 -0500
committerJack Nagel2014-09-18 17:07:11 -0500
commit7a4e2fe24dd29d5f8780d494975509d3de39eed9 (patch)
treef89c8732fb768a0eb012c564c987c978d52288f4
parent662f887e9ad581872f2bddeace54d3019382d3c1 (diff)
downloadbrew-7a4e2fe24dd29d5f8780d494975509d3de39eed9.tar.bz2
Update brew-test-bot for compiler selection changes
-rwxr-xr-xLibrary/Contributions/cmd/brew-test-bot.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb
index 0dfcd730d..771253173 100755
--- a/Library/Contributions/cmd/brew-test-bot.rb
+++ b/Library/Contributions/cmd/brew-test-bot.rb
@@ -342,8 +342,8 @@ class Test
end
begin
- deps.each {|f| CompilerSelector.new(f.to_formula).compiler }
- CompilerSelector.new(formula_object).compiler
+ deps.each { |d| CompilerSelector.select_for(d.to_formula) }
+ CompilerSelector.select_for(formula_object)
rescue CompilerSelectionError => e
unless installed_gcc
test "brew", "install", "gcc"