buildman: Fix bloat option when 'new' only drops functions
In the case where a new build only decreases sizes and does not increase any size we still want to report what functions have been dropped when doing a bloat comparison. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
		
							parent
							
								
									e2bc87d41c
								
							
						
					
					
						commit
						d5686a61d6
					
				| 
						 | 
				
			
			@ -847,7 +847,7 @@ class Builder:
 | 
			
		|||
        delta.reverse()
 | 
			
		||||
 | 
			
		||||
        args = [add, -remove, grow, -shrink, up, -down, up - down]
 | 
			
		||||
        if max(args) == 0:
 | 
			
		||||
        if max(args) == 0 and min(args) == 0:
 | 
			
		||||
            return
 | 
			
		||||
        args = [self.ColourNum(x) for x in args]
 | 
			
		||||
        indent = ' ' * 15
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue