PageRenderTime 9ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/src/wrappers/gtk/examples/test-all.sh

http://github.com/tybor/Liberty
Shell | 18 lines | 15 code | 0 blank | 3 comment | 6 complexity | 2825e609ca84fa3d7252231ac0aece72 MD5 | raw file
 1#!/bin/sh
 2for TEST in *; do 
 3    if [ -d "$TEST" ]; then
 4	if (cd $TEST; 
 5		echo "Testing $TEST"
 6		for ACE in *.ace; do
 7		    if compile $ACE 2>&1 >/dev/null
 8		    then echo $ACE successful
 9		    else echo Errors in $ACE; exit 5;
10		    fi
11		done
12	    )
13	then echo Successful
14	## else echo Failing ; exit 5;
15	fi
16    ## else echo "$TEST is not usable"
17    fi
18done