Actually tell the user which tests failed.
This commit is contained in:
		
							parent
							
								
									fd83b09c58
								
							
						
					
					
						commit
						1ea46f6afe
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		|  | @ -26,6 +26,13 @@ echo "$(echo "$timedout" | wc -w) timed out" | ||||||
| echo "$(echo "$failed" | wc -w) failed" | echo "$(echo "$failed" | wc -w) failed" | ||||||
| echo "" | echo "" | ||||||
| 
 | 
 | ||||||
|  | if [ "$failed" != "" ]; then | ||||||
|  | 	echo "Failing test logs:" | ||||||
|  | 	for t in $failed; do | ||||||
|  | 		echo $t | ||||||
|  | 	done | ||||||
|  | 	exit 1 | ||||||
|  | fi | ||||||
| if [ "$failed" != "" -o "$timedout" != "" ]; then | if [ "$failed" != "" -o "$timedout" != "" ]; then | ||||||
| 	echo "Test status: SAD FACE (tests are failing)" | 	echo "Test status: SAD FACE (tests are failing)" | ||||||
| 	exit 1 | 	exit 1 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue