mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-27 03:20:22 +08:00
334768c1bb
make depend, make tests, and make install all work when build directory is not the $srcdir. Also modified library handling such that -lpthread more likely to be last. WARNING: new orderring requires use of LDFLAGS to set global loader options such as -L/usr/local/lib. If you put this in LIBS, some libraries may not be found a link time. Likely broke Kerberos/LDAPD support. Don't have those in my testbed.
27 lines
441 B
Bash
Executable File
27 lines
441 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo ">>>>> Executing all LDAP tests..."
|
|
|
|
if [ $# -eq 0 ]; then
|
|
SRCDIR="."
|
|
else
|
|
SRCDIR=$1; shift
|
|
fi
|
|
|
|
echo ">>>>> Test Directory: $SRCDIR"
|
|
|
|
for CMD in $SRCDIR/scripts/test*; do
|
|
echo ">>>>> Starting `basename $CMD` ..."
|
|
$CMD $SRCDIR
|
|
RC=$?
|
|
if [ $RC -eq 0 ]; then
|
|
echo ">>>>> $CMD completed OK."
|
|
else
|
|
echo ">>>>> $CMD failed (exit $RC)"
|
|
exit $RC
|
|
fi
|
|
echo ">>>>> waiting 5 seconds for things to exit"
|
|
sleep 5
|
|
echo
|
|
done
|