Merge branch 'master' of /users/git/public/csc-status
[public/csc-status.git] / run
1 #!/bin/bash
2
3 fail=0
4 for i in "`dirname $0`"/tests.d/*; do
5         $i
6         if [ $? -ne 0 ]; then
7                 echo "FAIL: `basename $i`"
8                 fail=1
9         elif [ "$1" == "-v" ]; then
10                 echo "Pass: $i"
11         fi
12 done
13
14 exit $fail