build: Fix build farm for hosts other than our coverage test
[build-farm.git] / hape.fns
index a1e3f161fb166c4254dd0a7eaf4d5ff44bae2552..eda75d6c8a0158fe1a4a0f2004fec8a58d8068f4 100644 (file)
--- a/hape.fns
+++ b/hape.fns
@@ -4,11 +4,34 @@ per_run_hook
 
 global_lock
 
-. common.fns
+#PATH=/data/gcc/3.4.3/pa20_64/bin:$PATH
+#export PATH
 
-#export config="--with-acl-support --with-libiconv=/usr/local/"
-export config="--with-acl-support"
-test_tree samba_3_0 source /data/gcc/3.4.3/pa20_64/bin/gcc
+MAXTIME=18000
+TORTURE_MAXTIME=3600
+SMBD_MAXTIME=18000
+SAMBA_MAXTIME=18000
+export MAXTIME TORTURE_MAXTIME SMBD_MAXTIME SAMBA_MAXTIME
 
+#for compiler in gcc cc ; do
+for compiler in gcc ; do
+       export config=""
+       . common.fns
+
+       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 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 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
+