Skip to content
Snippets Groups Projects
Commit 7f167963 authored by Xu Cheng's avatar Xu Cheng
Browse files

test-bot: skip optional deps when computing formulae test order


Closes Homebrew/homebrew#45611.

Signed-off-by: default avatarXu Cheng <xucheng@me.com>
parent 8cf34028
No related branches found
No related tags found
No related merge requests found
......@@ -715,7 +715,7 @@ module Homebrew
changed_formulae_dependents = {}
@formulae.each do |formula|
formula_dependencies = Utils.popen_read("brew", "deps", formula).split("\n")
formula_dependencies = Utils.popen_read("brew", "deps", "--skip-optional", formula).split("\n")
unchanged_dependencies = formula_dependencies - @formulae
changed_dependences = formula_dependencies - unchanged_dependencies
changed_dependences.each do |changed_formula|
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment