tests.rb: use Homebrew.failed to send exit code.
This commit is contained in:
		
							parent
							
								
									bd334c55a0
								
							
						
					
					
						commit
						1cd0a47067
					
				@ -6,7 +6,7 @@ module Homebrew
 | 
			
		||||
      quiet_system("bundle", "check") || \
 | 
			
		||||
        system("bundle", "install", "--path", "vendor/bundle")
 | 
			
		||||
      system "bundle", "exec", "rake", "test"
 | 
			
		||||
      exit $?.exitstatus
 | 
			
		||||
      Homebrew.failed = !$?.success?
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user