Merge pull request #2816 from MikeMcQuaid/test-needs-link
test: require non-keg-only formulae to be linked.
This commit is contained in:
commit
5f8a86c178
@ -39,6 +39,12 @@ module Homebrew
|
|||||||
next
|
next
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Don't test unlinked formulae
|
||||||
|
if !ARGV.force? && !f.keg_only? && !f.linked?
|
||||||
|
ofail "#{f.full_name} is not linked"
|
||||||
|
next
|
||||||
|
end
|
||||||
|
|
||||||
puts "Testing #{f.full_name}"
|
puts "Testing #{f.full_name}"
|
||||||
|
|
||||||
env = ENV.to_hash
|
env = ENV.to_hash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user