VERSION: Disable GIT_SNAPSHOT for the 4.11.0rc1 release...
[samba.git] / buildtools / testwaf.sh
index a9a17cfdef78a5a4903465da724f2f0ab9ccf0ec..127e52589103e455423ccbc24c464d43540df9cd 100755 (executable)
@@ -11,7 +11,7 @@ PREFIX=$HOME/testprefix
 if [ $# -gt 0 ]; then
     tests="$*"
 else
-    tests="lib/replace lib/talloc lib/tevent lib/tdb source4/lib/ldb"
+    tests="lib/replace lib/talloc lib/tevent lib/tdb lib/ldb"
 fi
 
 echo "testing in dirs $tests"
@@ -21,14 +21,13 @@ for d in $tests; do
     pushd $d
     rm -rf bin
     type waf
-    ./autogen-waf.sh
     waf dist
     ./configure -C --enable-developer --prefix=$PREFIX
     time make
     make install
     make distcheck
     case $d in
-       "source4/lib/ldb")
+       "lib/ldb")
            ldd bin/ldbadd
            ;;
        "lib/replace")
@@ -49,7 +48,7 @@ pushd lib/talloc
 versions="python2.4 python2.5 python2.6 python3.0 python3.1"
 for p in $versions; do
     ret=$(which $p || echo "failed")
-    if [ $ret == "failed" ]; then
+    if [ $ret = "failed" ]; then
         echo "$p not found, skipping"
         continue
     fi