Use --enable-selftest only on master
[build-farm.git] / hape.fns
index 825670bfef62a0bee4eaf7399c9a76941f5bb8f3..eda75d6c8a0158fe1a4a0f2004fec8a58d8068f4 100644 (file)
--- a/hape.fns
+++ b/hape.fns
@@ -15,20 +15,23 @@ export MAXTIME TORTURE_MAXTIME SMBD_MAXTIME SAMBA_MAXTIME
 
 #for compiler in gcc cc ; do
 for compiler in gcc ; do
-
-       export config="--with-included-popt"
+       export config=""
        . common.fns
 
-       # sun_path for unix sockets is char[92]
-       # so we need to use shorter pathes for make test
-       export config="--with-selftest-prefix=/data/home/build/st.samba_4_0_test --with-included-popt"
-       test_tree samba_4_0_test source $compiler
+       export config="--bundled-libraries=popt"
+       MAKE=gmake test_tree samba_4_0_test . $compiler
 
        export config="--with-acl-support --with-libiconv=/usr/local --with-included-popt"
-       test_tree samba_3_current source $compiler
+       test_tree samba_3_current source3 $compiler
+       export config="--with-acl-support --with-libiconv=/usr/local --with-included-popt"
+       test_tree samba_3_next source3 $compiler
        export config="--with-acl-support --with-libiconv=/usr/local --with-included-popt"
-       test_tree samba_3_master source $compiler
+       test_tree samba_3_master source3 $compiler
 
 done
 
 global_unlock
+# as long as killbysubdir doesn't work on HP-UX, let's killall our build user's
+# processes:
+cd / ; killall
+