Cope with unknown hosts in dead host list.
[amitay/build-farm.git] / buildsamba02.fns
1 per_run_hook
2
3 global_lock
4
5 #. install_python.fns
6
7 action_test() {
8         set
9         env
10         case $tree in
11                 samba_4*)
12                   unset TEST_LDAP
13                   unset TEST_OPTIONS
14                 ../buildtools/bin/waf test
15                         ;;
16                 *)
17                         do_make test
18                         ;;
19         esac
20     totalstatus=$?
21
22     # if we produced a test summary then show it
23     [ -f st/summary ] && {
24         echo "TEST SUMMARY"
25         cat st/summary
26     }
27
28     return "$totalstatus"
29 }
30
31 for compiler in gcc;  do
32         . common.fns
33
34         test_tree samba_4_0_test source4 $compiler
35
36         test_tree samba_3_current source $compiler
37         test_tree samba_3_next source $compiler
38         test_tree samba_3_master source $compiler
39 done
40
41 global_unlock