the lcov version has changed, as has the output format
[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                 ;;
23         *)
24                 ;;
25 esac
26 }
27
28 CFLAGS="-g $CFLAGS"
29 export CFLAGS
30 compilers="cc gcc"
31
32 for compiler in $compilers; do
33         #export config="--with-included-popt"
34         . common.fns
35         TDB_NO_FSYNC=1
36         export TDB_NO_FSYNC
37         test_tree samba_4_0_test . $compiler
38         test_tree samba_3_current source3 $compiler
39         test_tree samba_3_next source3 $compiler
40         test_tree samba_3_master source3 $compiler
41         TDB_NO_FSYNC=0
42         export TDB_NO_FSYNC
43 done
44
45 global_unlock