summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-07 13:52:19 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:41 +1000
commitfd110dc1763821c47370d120ffc0a918c79a1ddd (patch)
tree792a183ccffe50b266749da0015a24fb49b6210f
parent2bb41b042a2cbb31573f1601d14688cb03630e0b (diff)
downloadsamba-fd110dc1763821c47370d120ffc0a918c79a1ddd.tar.gz
samba-fd110dc1763821c47370d120ffc0a918c79a1ddd.tar.bz2
samba-fd110dc1763821c47370d120ffc0a918c79a1ddd.zip
build: useful test script
-rwxr-xr-xbuildtools/testwaf.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/buildtools/testwaf.sh b/buildtools/testwaf.sh
new file mode 100755
index 0000000000..f474456bf0
--- /dev/null
+++ b/buildtools/testwaf.sh
@@ -0,0 +1,19 @@
+#!/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