mirror of
				https://github.com/yuzu-emu/mbedtls.git
				synced 2025-11-04 07:14:55 +00:00 
			
		
		
		
	all.sh: Return error on keep-going failure
When calling all.sh from a script and using "--keep-going", errors were sometimes missed due to all.sh always returning 0 "success" return code. Return 1 if there is any failure encountered during a "keep-going" run.
This commit is contained in:
		
							parent
							
								
									57e9fe2df4
								
							
						
					
					
						commit
						7ef1f5b0c6
					
				| 
						 | 
					@ -308,6 +308,7 @@ $text"
 | 
				
			||||||
            echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
 | 
					            echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
 | 
				
			||||||
            echo "${start_red}FAILED: $failure_count${end_color}$failure_summary"
 | 
					            echo "${start_red}FAILED: $failure_count${end_color}$failure_summary"
 | 
				
			||||||
            echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
 | 
					            echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
 | 
				
			||||||
 | 
					            exit 1
 | 
				
			||||||
        elif [ -z "${1-}" ]; then
 | 
					        elif [ -z "${1-}" ]; then
 | 
				
			||||||
            echo "SUCCESS :)"
 | 
					            echo "SUCCESS :)"
 | 
				
			||||||
        fi
 | 
					        fi
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue