global_lock
-compiler=cc
+MAXTIME=18000
+SMBD_MAXTIME=8500
+SAMBA_MAXTIME=8500
+export MAXTIME SMBD_MAXTIME SAMBA_MAXTIME
-# ldap.h seems to be broken on this box??
-. common.fns
-test_tree lorikeet-heimdal . $compiler
-CFLAGS="-g1 ${CFLAGS}" test_tree samba4 source $compiler
-CFLAGS="-g1 ${CFLAGS}" test_tree samba_3_0 source $compiler
+compilers="cc"
+
+CFLAGS="-g $CFLAGS"
+export CFLAGS
+
+for compiler in $compilers; do
+
+ . common.fns
+
+ config="--without-gettext --without-acl-support"
+ export config
+ test_tree samba_4_0_test . $compiler
+ config=""
+ export config
+
+ test_tree samba_3_current source3 $compiler
+ test_tree samba_3_next source3 $compiler
+done
global_unlock