You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							20 lines
						
					
					
						
							322 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							20 lines
						
					
					
						
							322 B
						
					
					
				
								#!/bin/bash
							 | 
						|
								
							 | 
						|
								black='\E[30m'
							 | 
						|
								red='\E[31m'
							 | 
						|
								green='\E[32m'
							 | 
						|
								yellow='\E[33m'
							 | 
						|
								blue='\E[34m'
							 | 
						|
								magenta='\E[35m'
							 | 
						|
								cyan='\E[36m'
							 | 
						|
								white='\E[37m'
							 | 
						|
								
							 | 
						|
								if ! ./$1 > /dev/null 2> .runtest.log ; then
							 | 
						|
								  echo -e  $red Test $1 failed: $black
							 | 
						|
								  echo -e $blue
							 | 
						|
								  cat .runtest.log
							 | 
						|
								  echo -e $black
							 | 
						|
								  exit 1
							 | 
						|
								else
							 | 
						|
								echo -e $green Test $1 passed$black
							 | 
						|
								fi
							 |