13 lines
		
	
	
		
			375 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			375 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| module Homebrew
 | |
|   def tests
 | |
|     (HOMEBREW_LIBRARY/"Homebrew/test").cd do
 | |
|       ENV["TESTOPTS"] = "-v" if ARGV.verbose?
 | |
|       Homebrew.install_gem_setup_path! "bundler"
 | |
|       quiet_system("bundle", "check") || \
 | |
|         system("bundle", "install", "--path", "vendor/bundle")
 | |
|       system "bundle", "exec", "rake", "test"
 | |
|       Homebrew.failed = !$?.success?
 | |
|     end
 | |
|   end
 | |
| end
 | 
