mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13457 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			20 lines
		
	
	
		
			363 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			363 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env bash
 | |
| path=$1
 | |
| shift
 | |
| let $((success=0))
 | |
| let $((failure=0))
 | |
| for tst in $* ; do
 | |
|     result=`$path/$tst`
 | |
|     status="$?"
 | |
|     echo "Test $tst : $result"
 | |
|     if [ $status -eq 0 ] ; then
 | |
|         let $((success++))
 | |
|     else
 | |
|         let $((failure++))
 | |
|     fi
 | |
| done
 | |
| 
 | |
| echo "Failures : $failure"
 | |
| echo "Successes: $success"
 | |
| echo "Total    : $((failure+success))"
 |