aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-12-29 11:54:43 +0000
committerMike McQuaid2015-12-29 11:54:43 +0000
commit618123e4bfe09fe17e488a9386b353e55b77adf7 (patch)
treeb765f2c9b20f5bb05f4331964ddbe6394d36b41b /Library
parent076cbf55be15da494263aebf89bed7d302c74ef5 (diff)
downloadbrew-618123e4bfe09fe17e488a9386b353e55b77adf7.tar.bz2
test-bot: skip more building.
There should be no compilation happening with `--fast`.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/test-bot.rb18
1 files changed, 11 insertions, 7 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb
index 899d869ff..1dd0945fe 100644
--- a/Library/Homebrew/cmd/test-bot.rb
+++ b/Library/Homebrew/cmd/test-bot.rb
@@ -553,11 +553,13 @@ module Homebrew
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
+ 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?
@@ -619,8 +621,10 @@ module Homebrew
conflicts.each do |conflict|
test "brew", "unlink", conflict.name
end
- run_as_not_developer { test "brew", "install", dependent.name }
- next if steps.last.failed?
+ 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