From 92c9c6cfbd567bfe8920da03da89f741fe0ff594 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 17 Jul 2013 18:12:14 -0700 Subject: brew-test-bot: add devel/HEAD install options. --- Library/Contributions/cmd/brew-test-bot.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Library') 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 -- cgit v1.2.3