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:
parent
2ca889c341
commit
4327f265a1
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…
Reference in New Issue
Block a user