]> git.sur5r.net Git - openldap/blob - tests/scripts/all
Update build environment to fix VPATH support.
[openldap] / tests / scripts / all
1 #!/bin/sh
2
3 echo ">>>>> Executing all LDAP tests..."
4
5 if [ $# -eq 0 ]; then
6         SRCDIR="."
7 else
8         SRCDIR=$1; shift
9 fi
10
11 echo ">>>>> Test Directory: $SRCDIR"
12
13 for CMD in $SRCDIR/scripts/test*; do
14         echo ">>>>> Starting `basename $CMD` ..."
15         $CMD $SRCDIR
16         RC=$?
17         if [ $RC -eq 0 ]; then
18                 echo ">>>>> $CMD completed OK."
19         else
20                 echo ">>>>> $CMD failed (exit $RC)"
21                 exit $RC
22         fi
23         echo ">>>>> waiting 5 seconds for things to exit"
24         sleep 5
25         echo
26 done