aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXu Cheng2015-10-20 14:53:50 +0800
committerXu Cheng2015-10-20 14:53:50 +0800
commite13866f74afd469dece0d1b9c2c32da2b941c349 (patch)
tree2f67892010cdf3f32410c370fa5020517c75e62c
parent1a0f64d5f8d775fd5a6e22b566404a3245022c02 (diff)
downloadbrew-e13866f74afd469dece0d1b9c2c32da2b941c349.tar.bz2
test-bot: install bottle unneeded formulae in --fast mode
-rw-r--r--Library/Homebrew/cmd/test-bot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb
index 9997b7eee..4437f2e72 100644
--- a/Library/Homebrew/cmd/test-bot.rb
+++ b/Library/Homebrew/cmd/test-bot.rb
@@ -572,7 +572,7 @@ module Homebrew
# Don't care about e.g. bottle failures for dependencies.
install_passed = false
run_as_not_developer do
- if !ARGV.include?("--fast") || formula_bottled
+ if !ARGV.include?("--fast") || formula_bottled || formula.bottle_unneeded?
test "brew", "install", "--only-dependencies", *install_args unless dependencies.empty?
test "brew", "install", *install_args
install_passed = steps.last.passed?