aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-07-17 18:12:14 -0700
committerMike McQuaid2013-07-18 09:56:54 -0700
commit92c9c6cfbd567bfe8920da03da89f741fe0ff594 (patch)
tree177513df151773d773ac53c66e6419b633344110 /Library
parent96680d52e15a2361a98641179a4d4d2d8564d73f (diff)
downloadhomebrew-92c9c6cfbd567bfe8920da03da89f741fe0ff594.tar.bz2
brew-test-bot: add devel/HEAD install options.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-test-bot.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb
index 4b5deb19c..772ceee63 100755
--- a/Library/Contributions/cmd/brew-test-bot.rb
+++ b/Library/Contributions/cmd/brew-test-bot.rb
@@ -8,6 +8,8 @@
# --skip-setup: Don't check the local system is setup correctly.
# --junit: Generate a JUnit XML test results file.
# --email: Generate an email subject file.
+# --HEAD: Run brew install with --HEAD
+# --devel: Run brew install with --devel
require 'formula'
require 'utils'
@@ -256,7 +258,10 @@ class Test
test "brew fetch #{dependencies}" unless dependencies.empty?
test "brew fetch --force --build-bottle #{formula}"
test "brew uninstall --force #{formula}" if formula_object.installed?
- test "brew install --verbose --build-bottle #{formula}"
+ install_args = '--verbose --build-bottle'
+ install_args << ' --HEAD' if ARGV.include? '--HEAD'
+ install_args << ' --devel' if ARGV.include? '--devel'
+ test "brew install #{install_args} #{formula}"
install_passed = steps.last.passed?
test "brew audit #{formula}"
return unless install_passed