aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd/test-bot.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-09-13 10:36:20 +0100
committerMike McQuaid2016-09-13 10:36:20 +0100
commit0f03506adc0f8123194dcaab68a2cf191d02dc6b (patch)
tree46c481b4b3ef82c0b892ca0d58d9f69397aefdcf /Library/Homebrew/dev-cmd/test-bot.rb
parent3d3a03f75a0b3fe30176b79593d79cf5555a5b33 (diff)
downloadbrew-0f03506adc0f8123194dcaab68a2cf191d02dc6b.tar.bz2
test-bot: don't run Homebrew tests for taps PRs.
Check the repository directly rather than @test_default_formula.
Diffstat (limited to 'Library/Homebrew/dev-cmd/test-bot.rb')
-rw-r--r--Library/Homebrew/dev-cmd/test-bot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/test-bot.rb b/Library/Homebrew/dev-cmd/test-bot.rb
index 2704aa670..4168475f4 100644
--- a/Library/Homebrew/dev-cmd/test-bot.rb
+++ b/Library/Homebrew/dev-cmd/test-bot.rb
@@ -702,7 +702,7 @@ module Homebrew
@category = __method__
return if @skip_homebrew
- if @tap.nil? && (@test_default_formula || Array(@formulae).empty?)
+ if @tap.nil? && (@repository == HOMEBREW_REPOSITORY || Array(@formulae).empty?)
tests_args = ["--official-cmd-taps"]
tests_args_no_compat = []
tests_args_no_compat << "--coverage" if ARGV.include?("--coverage")