mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-18 12:09:38 +00:00
Add a script I missed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10188 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e44f1db6e6
commit
ac981ae3e8
19
projects/Stacker/test/runtests
Executable file
19
projects/Stacker/test/runtests
Executable 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))"
|
Loading…
x
Reference in New Issue
Block a user