aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-06-20 13:38:56 +0100
committerMike McQuaid2013-06-20 13:38:56 +0100
commit24ae3a86366208a73ce5a4c29cf6a97e21f5d73a (patch)
tree32c9b7bedf09a31f1dbb83da0c95d47c134ad8cb /Library
parent4e9c357733374500f64ce5d1e140e6cce9a4439b (diff)
downloadhomebrew-24ae3a86366208a73ce5a4c29cf6a97e21f5d73a.tar.bz2
brew-test-bot: uninstall formula if already installed.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-test-bot.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb
index 2b9fada1c..baf0e9c93 100755
--- a/Library/Contributions/cmd/brew-test-bot.rb
+++ b/Library/Contributions/cmd/brew-test-bot.rb
@@ -250,6 +250,7 @@ class Test
test "brew audit #{formula}"
test "brew fetch #{dependencies}" unless dependencies.empty?
test "brew fetch --build-bottle #{formula}"
+ test "brew uninstall #{formula}" if formula_object.installed?
test "brew install --verbose #{dependencies}" unless dependencies.empty?
test "brew install --verbose --build-bottle #{formula}"
return unless steps.last.passed?