aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/test-bot.rb
diff options
context:
space:
mode:
authorXu Cheng2015-09-02 20:56:04 +0800
committerMike McQuaid2015-02-09 14:12:19 +0000
commitb4545f364ef8bb0932c2367eade1d380f277c4bf (patch)
treea5cce056428b9a8029aa702ba9196cb43b115431 /Library/Homebrew/cmd/test-bot.rb
parent5b855d60d099e4e0cd342c7d3bb9a78e5cdbc8fb (diff)
downloadhomebrew-b4545f364ef8bb0932c2367eade1d380f277c4bf.tar.bz2
test-bot: only test the runtime dependencies.
Also add support to `brew uses` to ignore build or optional dependencies. Closes #36154. Closes #36656. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/cmd/test-bot.rb')
-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 d7414302a..9a1478764 100644
--- a/Library/Homebrew/cmd/test-bot.rb
+++ b/Library/Homebrew/cmd/test-bot.rb
@@ -363,7 +363,7 @@ module Homebrew
unchanged_dependencies = dependencies - @formulae
changed_dependences = dependencies - unchanged_dependencies
- dependents = `brew uses #{formula_name}`.split("\n")
+ dependents = `brew uses --skip-build --skip-optional #{formula_name}`.split("\n")
dependents -= @formulae
dependents = dependents.map {|d| Formulary.factory(d)}