diff options
| author | Jack Nagel | 2014-09-18 17:07:11 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-09-18 17:07:11 -0500 |
| commit | 7a4e2fe24dd29d5f8780d494975509d3de39eed9 (patch) | |
| tree | f89c8732fb768a0eb012c564c987c978d52288f4 /Library | |
| parent | 662f887e9ad581872f2bddeace54d3019382d3c1 (diff) | |
| download | brew-7a4e2fe24dd29d5f8780d494975509d3de39eed9.tar.bz2 | |
Update brew-test-bot for compiler selection changes
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/cmd/brew-test-bot.rb | 4 |
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" |
