1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/buildtools/testwaf.sh
2010-04-06 20:26:41 +10:00

20 lines
409 B
Bash
Executable File

#!/bin/bash
d=$(dirname $0)
cd $d/..
PREFIX=$HOME/testprefix
for d in lib/replace lib/talloc lib/tevent lib/tdb source4/lib/ldb; do
echo "`date`: testing $d"
pushd $d || exit 1
rm -rf bin
type waf
waf configure --enable-developer --prefix=$PREFIX || exit 1
time waf build || exit 1
time waf build || exit 1
waf install || exit 1
popd
done
ldd source4/lib/ldb/bin/ldbadd