aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-03-01 12:28:54 +0000
committerMike McQuaid2014-03-01 16:45:31 +0000
commit281494c2556febe95fe64357577cd713846fcbf4 (patch)
tree9c9ee088744286fa7e36266f8b38e08c00065400 /Library
parent7f45c634681330ab32d9d069d6af131283695664 (diff)
downloadbrew-281494c2556febe95fe64357577cd713846fcbf4.tar.bz2
brew-test-bot: use fetch --retry.
Closes Homebrew/homebrew#27110. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-test-bot.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb
index d0d6ac497..c55c55b0a 100755
--- a/Library/Contributions/cmd/brew-test-bot.rb
+++ b/Library/Contributions/cmd/brew-test-bot.rb
@@ -275,11 +275,11 @@ class Test
test "brew install apple-gcc42"
end
- test "brew fetch #{dependencies}" unless dependencies.empty?
+ test "brew fetch --retry #{dependencies}" unless dependencies.empty?
formula_fetch_options = " "
formula_fetch_options << " --build-bottle" unless ARGV.include? '--no-bottle'
formula_fetch_options << " --force" if ARGV.include? '--cleanup'
- test "brew fetch#{formula_fetch_options} #{formula}"
+ test "brew fetch --retry#{formula_fetch_options} #{formula}"
test "brew uninstall --force #{formula}" if formula_object.installed?
install_args = '--verbose'
install_args << ' --build-bottle' unless ARGV.include? '--no-bottle'
@@ -303,7 +303,7 @@ class Test
test "brew uninstall --force #{formula}"
end
if formula_object.devel and not ARGV.include? '--HEAD'
- test "brew fetch --devel#{formula_fetch_options} #{formula}"
+ test "brew fetch --retry --devel#{formula_fetch_options} #{formula}"
test "brew install --devel --verbose #{formula}"
devel_install_passed = steps.last.passed?
test "brew audit --devel #{formula}"