[llvm-commits] CVS: llvm/projects/Stacker/test/runtests
Chris Lattner
lattner at cs.uiuc.edu
Sun Nov 23 12:14:04 PST 2003
Changes in directory llvm/projects/Stacker/test:
runtests added (r1.1)
---
Log message:
Add a script I missed
---
Diffs of the changes: (+19 -0)
Index: llvm/projects/Stacker/test/runtests
diff -c /dev/null llvm/projects/Stacker/test/runtests:1.1
*** /dev/null Sun Nov 23 12:13:01 2003
--- llvm/projects/Stacker/test/runtests Sun Nov 23 12:12:51 2003
***************
*** 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))"
More information about the llvm-commits
mailing list