test-bot: skip more building.
There should be no compilation happening with `--fast`.
This commit is contained in:
parent
076cbf55be
commit
618123e4bf
@ -553,11 +553,13 @@ module Homebrew
|
|||||||
|
|
||||||
unless changed_dependences.empty?
|
unless changed_dependences.empty?
|
||||||
test "brew", "fetch", "--retry", "--build-bottle", *changed_dependences
|
test "brew", "fetch", "--retry", "--build-bottle", *changed_dependences
|
||||||
# Install changed dependencies as new bottles so we don't have checksum problems.
|
unless ARGV.include?("--fast")
|
||||||
test "brew", "install", "--build-bottle", *changed_dependences
|
# Install changed dependencies as new bottles so we don't have checksum problems.
|
||||||
# Run postinstall on them because the tested formula might depend on
|
test "brew", "install", "--build-bottle", *changed_dependences
|
||||||
# this step
|
# Run postinstall on them because the tested formula might depend on
|
||||||
test "brew", "postinstall", *changed_dependences
|
# this step
|
||||||
|
test "brew", "postinstall", *changed_dependences
|
||||||
|
end
|
||||||
end
|
end
|
||||||
test "brew", "fetch", "--retry", *fetch_args
|
test "brew", "fetch", "--retry", *fetch_args
|
||||||
test "brew", "uninstall", "--force", canonical_formula_name if formula.installed?
|
test "brew", "uninstall", "--force", canonical_formula_name if formula.installed?
|
||||||
@ -619,8 +621,10 @@ module Homebrew
|
|||||||
conflicts.each do |conflict|
|
conflicts.each do |conflict|
|
||||||
test "brew", "unlink", conflict.name
|
test "brew", "unlink", conflict.name
|
||||||
end
|
end
|
||||||
run_as_not_developer { test "brew", "install", dependent.name }
|
unless ARGV.include?("--fast")
|
||||||
next if steps.last.failed?
|
run_as_not_developer { test "brew", "install", dependent.name }
|
||||||
|
next if steps.last.failed?
|
||||||
|
end
|
||||||
end
|
end
|
||||||
if dependent.installed?
|
if dependent.installed?
|
||||||
test "brew", "test", "--verbose", dependent.name
|
test "brew", "test", "--verbose", dependent.name
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user