brew-test-bot: install GCC if needed.
This commit is contained in:
		
							parent
							
								
									b89955002e
								
							
						
					
					
						commit
						8c6c644a6b
					
				@ -268,6 +268,12 @@ class Test
 | 
			
		||||
      return
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    begin
 | 
			
		||||
      CompilerSelector.new(formula_object).compiler
 | 
			
		||||
    rescue CompilerSelectionError
 | 
			
		||||
      test "brew install apple-gcc42"
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    test "brew fetch #{dependencies}" unless dependencies.empty?
 | 
			
		||||
    formula_fetch_options = " "
 | 
			
		||||
    formula_fetch_options << " --build-bottle" unless ARGV.include? '--no-bottle'
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user