aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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"