diff options
author | Chris Lattner <sabre@nondot.org> | 2003-11-23 18:12:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-11-23 18:12:51 +0000 |
commit | ac981ae3e859b5d024fa23364fb7f1eaab78c8e7 (patch) | |
tree | c95af99e4745a07fb94a1b950511b9594ed3a0e4 | |
parent | e44f1db6e69beb9ecb30dff75ca25c4963af7df0 (diff) | |
download | external_llvm-ac981ae3e859b5d024fa23364fb7f1eaab78c8e7.zip external_llvm-ac981ae3e859b5d024fa23364fb7f1eaab78c8e7.tar.gz external_llvm-ac981ae3e859b5d024fa23364fb7f1eaab78c8e7.tar.bz2 |
Add a script I missed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10188 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | projects/Stacker/test/runtests | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/projects/Stacker/test/runtests b/projects/Stacker/test/runtests new file mode 100755 index 0000000..75ac5a6 --- /dev/null +++ b/projects/Stacker/test/runtests @@ -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))" |