test-bot: check if dependents are installed.
Before fetching or installing with no args.
This commit is contained in:
parent
515395171c
commit
b5439b6f7a
@ -438,8 +438,10 @@ module Homebrew
|
||||
end
|
||||
test "brew", "test", "--verbose", formula_name if formula.test_defined?
|
||||
if testable_dependents.any?
|
||||
test "brew", "fetch", *uninstalled_testable_dependents
|
||||
test "brew", "install", *uninstalled_testable_dependents
|
||||
if uninstalled_testable_dependents.any?
|
||||
test "brew", "fetch", *uninstalled_testable_dependents
|
||||
test "brew", "install", *uninstalled_testable_dependents
|
||||
end
|
||||
test "brew", "test", *testable_dependents
|
||||
end
|
||||
test "brew", "uninstall", "--force", formula_name
|
||||
|
Loading…
x
Reference in New Issue
Block a user