summaryrefslogtreecommitdiff
path: root/buildtools/testwaf.sh
blob: f474456bf050341d34c7d95fbace59a4f2b9815c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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