aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-test-bot.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb
index 074483cea..9af882a98 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