9 PREFIX
=$HOME/testprefix
14 tests
="lib/replace lib/talloc lib/tevent lib/tdb source4/lib/ldb"
17 echo "testing in dirs $tests"
20 echo "`date`: testing $d"
26 .
/configure
-C --enable-developer --prefix=$PREFIX
35 ldd bin
/replace_testsuite
38 ldd bin
/talloc_testsuite
47 echo "testing python portability"
49 versions
="python2.4 python2.5 python2.6 python3.0 python3.1"
50 for p
in $versions; do
51 ret
=$
(which $p ||
echo "failed")
52 if [ $ret == "failed" ]; then
53 echo "$p not found, skipping"
57 $p ..
/..
/buildtools
/bin
/waf configure
-C --enable-developer --prefix=$PREFIX
58 $p ..
/..
/buildtools
/bin
/waf build
install
62 echo "testing cross compiling"
64 ret
=$
(which arm-linux-gnueabi-gcc ||
echo "failed")
65 if [ $ret != "failed" ]; then
66 CC
=arm-linux-gnueabi-gcc .
/configure
-C --prefix=$PREFIX --cross-compile --cross-execute='runarm'
69 echo "Cross-compiler not installed, skipping test"