brew-test-bot: add skip cleanup, setup options.

This commit is contained in:
Mike McQuaid 2012-11-10 06:17:35 +00:00
parent 8d7be8c0b4
commit 925a9572c9

View File

@ -254,14 +254,14 @@ class Test
def self.run url
test = new url
test.cleanup
test.cleanup unless ARGV.include? "--skip-cleanup"
test.download
test.setup
test.setup unless ARGV.include? "--skip-setup"
test.formulae.each do |f|
test.formula f
end
test.homebrew if test.core_changed
test.cleanup
test.cleanup unless ARGV.include? "--skip-cleanup"
test.check_results
end