test-bot: skip optional deps when computing formulae test order
Closes Homebrew/homebrew#45611. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
		
							parent
							
								
									8cf3402870
								
							
						
					
					
						commit
						7f167963b3
					
				@ -715,7 +715,7 @@ module Homebrew
 | 
			
		||||
      changed_formulae_dependents = {}
 | 
			
		||||
 | 
			
		||||
      @formulae.each do |formula|
 | 
			
		||||
        formula_dependencies = Utils.popen_read("brew", "deps", formula).split("\n")
 | 
			
		||||
        formula_dependencies = Utils.popen_read("brew", "deps", "--skip-optional", formula).split("\n")
 | 
			
		||||
        unchanged_dependencies = formula_dependencies - @formulae
 | 
			
		||||
        changed_dependences = formula_dependencies - unchanged_dependencies
 | 
			
		||||
        changed_dependences.each do |changed_formula|
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user