brew tests: filter out vendor/bundle

This commit is contained in:
Misty De Meo 2017-02-27 12:56:33 +11:00 committed by Misty De Meo
parent 88962cdab2
commit f332bf4a76

View File

@ -57,6 +57,7 @@ module Homebrew
ENV["SEED"] = ARGV.next if ARGV.include? "--seed"
files = Dir.glob("test/**/*_{spec,test}.rb")
.reject { |p| p =~ %r{^test/vendor/bundle} }
.reject { |p| !OS.mac? && p =~ %r{^test/(os/mac|cask)(/.*|_(test|spec)\.rb)$} }
test_args = []