Fix image urls.
[amitay/build-farm.git] / SerNet-solaris8.fns
1 per_run_hook
2
3 global_lock
4
5 MAXTIME=42200
6 TORTURE_MAXTIME=3600
7 SMBD_MAXTIME=42200
8 SAMBA_MAXTIME=42200
9
10 # this is needed because python depends on openssl for some modules like hashlib
11 # that in turn samba pretty much depends on
12 # We need also /usr/local/lib for gcc as it needs libgcc_s.(so|a)
13
14 LD_LIBRARY_PATH=/usr/local/ssl/lib:/usr/local/lib
15 export MAXTIME TORTURE_MAXTIME SMBD_MAXTIME SAMBA_MAXTIME LD_LIBRARY_PATH
16 PREHOOKS="configure"
17
18 prehook_configure()
19 {
20 case "$tree" in
21         samba_4*)
22                 (cd ${builddir}/..; gpatch -p 1 <$HOME/build_farm/patch)
23                 ;;
24         *)
25                 ;;
26 esac
27 }
28
29 compilers="cc gcc"
30
31 for compiler in $compilers; do
32         #export config="--with-included-popt"
33         . common.fns
34         TDB_NO_FSYNC=1
35         export TDB_NO_FSYNC
36         test_tree samba_4_0_test source4 $compiler
37         test_tree samba_3_current source $compiler
38         test_tree samba_3_next source $compiler
39         test_tree samba_3_master source $compiler
40         TDB_NO_FSYNC=0
41         export TDB_NO_FSYNC
42 done
43
44 global_unlock