test-bot: fix testing builds building everything.

We don't care about the formulae that have changed since the last commit
so just ignore it.
This commit is contained in:
Mike McQuaid 2015-10-20 12:28:09 +01:00
parent 8207c48a23
commit 09516e1613

View File

@ -336,6 +336,7 @@ module Homebrew
# Handle formulae arguments being passed on the command-line e.g. `brew test-bot wget fish`.
elsif @formulae && @formulae.any?
@name = "#{@formulae.first}-#{diff_end_sha1}"
diff_start_sha1 = diff_end_sha1
# Handle a hash being passed on the command-line e.g. `brew test-bot 1a2b3c`.
elsif @hash
test "git", "checkout", @hash