diff options
author | Stefan Metzmacher <metze@samba.org> | 2022-03-28 12:38:02 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2022-03-29 22:32:32 +0000 |
commit | 42eeed05f1aed10b48f7008a18e47cf15ac2c010 (patch) | |
tree | 71cec574cf9284e06be65b6256e7190a9b07e56e /buildtools | |
parent | 825dcc6a13dcce5c9eced1baef9a92bd9f6d4d84 (diff) | |
download | samba-42eeed05f1aed10b48f7008a18e47cf15ac2c010.tar.gz |
buildtools: remove unused testwaf.sh
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'buildtools')
-rwxr-xr-x | buildtools/testwaf.sh | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/buildtools/testwaf.sh b/buildtools/testwaf.sh deleted file mode 100755 index 3e8e6431c78..00000000000 --- a/buildtools/testwaf.sh +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/bash - -set -e -set -x - -d=$(dirname $0) - -cd $d/.. -PREFIX=$HOME/testprefix - -if [ $# -gt 0 ]; then - tests="$*" -else - tests="lib/replace lib/talloc lib/tevent lib/tdb lib/ldb" -fi - -echo "testing in dirs $tests" - -for d in $tests; do - echo "$(date): testing $d" - pushd $d - rm -rf bin - type waf - waf dist - ./configure -C --enable-developer --prefix=$PREFIX - time make - make install - make distcheck - case $d in - "lib/ldb") - ldd bin/ldbadd - ;; - "lib/replace") - ldd bin/replace_testsuite - ;; - "lib/talloc") - ldd bin/talloc_testsuite - ;; - "lib/tdb") - ldd bin/tdbtool - ;; - esac - popd -done - -echo "testing python portability" -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 - echo "$p not found, skipping" - continue - fi - echo "Testing $p" - $p ../../buildtools/bin/waf configure -C --enable-developer --prefix=$PREFIX - $p ../../buildtools/bin/waf build install -done -popd - -echo "testing cross compiling" -pushd lib/talloc -ret=$(which arm-linux-gnueabi-gcc || echo "failed") -if [ $ret != "failed" ]; then - CC=arm-linux-gnueabi-gcc ./configure -C --prefix=$PREFIX --cross-compile --cross-execute='runarm' - make && make install -else - echo "Cross-compiler not installed, skipping test" -fi -popd |