From 7a4e2fe24dd29d5f8780d494975509d3de39eed9 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 18 Sep 2014 17:07:11 -0500 Subject: Update brew-test-bot for compiler selection changes --- Library/Contributions/cmd/brew-test-bot.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library') 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" -- cgit v1.2.3