global_lock
-compiler=cc
-
MAXTIME=18000
-export MAXTIME
SMBD_MAXTIME=8500
-export SMBD_MAXTIME
SAMBA_MAXTIME=8500
-export SAMBA_MAXTIME
-
-. common.fns
-test_tree lorikeet-heimdal . $compiler
-CFLAGS="-g1 ${CFLAGS}" test_tree samba_4_0_waf source4 $compiler
-CFLAGS="-g1 ${CFLAGS}" test_tree samba_3_current source $compiler
-CFLAGS="-g1 ${CFLAGS}" test_tree samba_3_next source $compiler
-CFLAGS="-g1 ${CFLAGS}" test_tree samba_3_master source $compiler
+export MAXTIME SMBD_MAXTIME SAMBA_MAXTIME
+
+compilers="cc"
+
+CFLAGS="-g $CFLAGS"
+export CFLAGS
+
+for compiler in $compilers; do
+
+ . common.fns
+
+ config="--without-gettext"
+ 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