diff options
| author | Mike McQuaid | 2014-08-30 13:28:53 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-08-30 13:28:53 +0100 |
| commit | efb02aa79de0abc1fc96f397353419aa7a38238f (patch) | |
| tree | c898c9f05e5107c5b7476b9fda1a8e300271d2e4 | |
| parent | 309001fd9f510879693828c340654f44ccc82406 (diff) | |
| download | brew-efb02aa79de0abc1fc96f397353419aa7a38238f.tar.bz2 | |
brew-test-bot: check dependencies' compilers too.
| -rwxr-xr-x | Library/Contributions/cmd/brew-test-bot.rb | 6 |
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 |
