1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Add a script I missed

llvm-svn: 10188
This commit is contained in:
Chris Lattner 2003-11-23 18:12:51 +00:00
parent 2ca889c341
commit 4327f265a1

19
projects/Stacker/test/runtests Executable file
View File

@ -0,0 +1,19 @@
#!/bin/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))"