test-bot: run postinstall on dependencies
Closes Homebrew/homebrew#36027. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
This commit is contained in:
parent
176e55386c
commit
1bb9c56e9c
@ -475,9 +475,15 @@ module Homebrew
|
||||
end
|
||||
|
||||
test "brew", "fetch", "--retry", *unchanged_dependencies unless unchanged_dependencies.empty?
|
||||
test "brew", "fetch", "--retry", "--build-bottle", *changed_dependences unless changed_dependences.empty?
|
||||
# Install changed dependencies as new bottles so we don't have checksum problems.
|
||||
test "brew", "install", "--build-bottle", *changed_dependences unless changed_dependences.empty?
|
||||
|
||||
unless changed_dependences.empty?
|
||||
test "brew", "fetch", "--retry", "--build-bottle", *changed_dependences
|
||||
# Install changed dependencies as new bottles so we don't have checksum problems.
|
||||
test "brew", "install", "--build-bottle", *changed_dependences
|
||||
# Run postinstall on them because the tested formula might depend on
|
||||
# this step
|
||||
test "brew", "postinstall", *changed_dependences
|
||||
end
|
||||
formula_fetch_options = []
|
||||
formula_fetch_options << "--build-bottle" unless ARGV.include? "--no-bottle"
|
||||
formula_fetch_options << "--force" if ARGV.include? "--cleanup"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user