per_run_hook
global_lock
+compilers="cc"
-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="-g" test_tree samba4 source $compiler
-CFLAGS="-g1" test_tree samba_3_0 source $compiler
+CFLAGS="-g $CFLAGS"
+export CFLAGS
+
+for compiler in $compilers; do
+
+ . common.fns
+ TDB_NO_FSYNC=1
+ SAVED_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS=""
+ export TDB_NO_FSYNC
+ export CPPFLAGS
+ test_tree samba_4_0_test . $compiler
+ CPPFLAGS="$SAVED_CPPFLAGS"
+ export CPPFLAGS
+
+ test_tree samba_3_current source3 $compiler
+ test_tree samba_3_next source3 $compiler
+ test_tree samba_3_master source3 $compiler
+ TDB_NO_FSYNC=0
+ export TDB_NO_FSYNC
+
+done
global_unlock