test-bot: skip more building.

There should be no compilation happening with `--fast`.
This commit is contained in:
Mike McQuaid 2015-12-29 11:54:43 +00:00
parent 076cbf55be
commit 618123e4bf

View File

@ -553,12 +553,14 @@ module Homebrew
unless changed_dependences.empty?
test "brew", "fetch", "--retry", "--build-bottle", *changed_dependences
unless ARGV.include?("--fast")
# 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
end
test "brew", "fetch", "--retry", *fetch_args
test "brew", "uninstall", "--force", canonical_formula_name if formula.installed?
install_args = ["--verbose"]
@ -619,9 +621,11 @@ module Homebrew
conflicts.each do |conflict|
test "brew", "unlink", conflict.name
end
unless ARGV.include?("--fast")
run_as_not_developer { test "brew", "install", dependent.name }
next if steps.last.failed?
end
end
if dependent.installed?
test "brew", "test", "--verbose", dependent.name
end