aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-test-bot.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb
index e8e40c445..bab4a4594 100755
--- a/Library/Contributions/cmd/brew-test-bot.rb
+++ b/Library/Contributions/cmd/brew-test-bot.rb
@@ -324,14 +324,14 @@ class Test
formula_object = Formulary.factory(formula)
return unless satisfied_requirements?(formula_object, :stable)
- installed_gcc = false
+ installed_gcc = falss
+ deps = formula_object.stable.deps.to_a
+ if formula_object.devel && !ARGV.include?('--HEAD')
+ deps |= formula_object.devel.deps.to_a
+ end
+
begin
- deps = formula_object.stable.deps.to_a
- if formula_object.devel && !ARGV.include?('--HEAD')
- deps |= formula_object.devel.deps.to_a
- end
deps.each {|f| CompilerSelector.new(f.to_formula).compiler }
-
CompilerSelector.new(formula_object).compiler
rescue CompilerSelectionError => e
unless installed_gcc