From efb02aa79de0abc1fc96f397353419aa7a38238f Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 30 Aug 2014 13:28:53 +0100 Subject: [PATCH] brew-test-bot: check dependencies' compilers too. --- Library/Contributions/cmd/brew-test-bot.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index 074483cea2..9af882a984 100755 --- a/Library/Contributions/cmd/brew-test-bot.rb +++ b/Library/Contributions/cmd/brew-test-bot.rb @@ -326,6 +326,12 @@ class Test installed_gcc = false begin + dependencies = formula_object.stable.deps + if formula_object.devel && !ARGV.include?('--HEAD') + dependencies += formula_object.devel.deps + end + dependencies.each {|f| CompilerSelector.new(f.to_formula).compiler } + CompilerSelector.new(formula_object).compiler rescue CompilerSelectionError => e unless installed_gcc