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"
25 .
/configure
-C --enable-developer --prefix=$PREFIX
34 ldd bin
/replace_testsuite
37 ldd bin
/talloc_testsuite
46 echo "testing python portability"
48 versions
="python2.4 python2.5 python2.6 python3.0 python3.1"
49 for p
in $versions; do
50 ret
=$
(which $p ||
echo "failed")
51 if [ $ret = "failed" ]; then
52 echo "$p not found, skipping"
56 $p ..
/..
/buildtools
/bin
/waf configure
-C --enable-developer --prefix=$PREFIX
57 $p ..
/..
/buildtools
/bin
/waf build
install
61 echo "testing cross compiling"
63 ret
=$
(which arm-linux-gnueabi-gcc ||
echo "failed")
64 if [ $ret != "failed" ]; then
65 CC
=arm-linux-gnueabi-gcc .
/configure
-C --prefix=$PREFIX --cross-compile --cross-execute='runarm'
68 echo "Cross-compiler not installed, skipping test"