-# We need to disable ccache for the lcov love to work
-export CCACHE_DISABLE=yes
-export LCOV_REPORT=yes
+per_run_hook
-compiler=gcc
+global_lock
-test_tree samba4 source $compiler
-test_tree samba_3_0 source $compiler
-test_tree rsync . $compiler
-test_tree distcc . $compiler
-test_tree ccache . $compiler
-test_tree talloc . $compiler
-test_tree tdb . $compiler
-test_tree ldb . $compiler
+compilers="gcc"
-#lcov and libtool disagree, enable OpenLDAP and disable OpenSSL
-export config="--with-ldap=/usr --without-openssl --disable-shared"
-test_tree lorikeet-heimdal . $compiler
+for compiler in $compilers; do
+ . common.fns
+ test_tree samba_4_0_test . $compiler
+
+ test_tree samba_3_current source3 $compiler
+ test_tree samba_3_next source3 $compiler
+done
+
+global_unlock