per_run_hook
-. common.fns
+global_lock
-BP=ibm_checker_parse.out
-BC=ibm_checker.out
+export CC=checker
+export CHECK_FLAGS="-Wall --beam::source=/home/tridge/beam/config.tcl --beam::parser_file=ibm_checker_parse.out --beam::complaint_file=ibm_checker.out"
-rm -f $BP $BC
+# allow make cc_checker to take up to 8 hours
+export MAXTIME=28800
-export CC=checker
-export CFLAGS="-Wall --beam::source=/home/tridge/beam/samba4/config.tcl --beam::parser_file=$BP --beam::complaint_file=$BC"
+for d in samba_3_current samba_3_next; do
+ export CFLAGS="$CHECK_FLAGS --beam::data=/home/tridge/beam/$d"
+ mkdir -p /home/tridge/beam/$d
+ test_tree $d source checker configure config_log config_header build cc_checker install test
+done
-test_tree samba4 source gcc configure build cc_checker install test
+for d in ldb tdb tdb2 talloc libreplace lorikeet-heimdal ccache rsync; do
+ export CFLAGS="$CHECK_FLAGS --beam::data=/home/tridge/beam/$d"
+ mkdir -p /home/tridge/beam/$d
+ test_tree $d . checker configure config_log config_header build cc_checker install test
+done
-export CFLAGS="-Wall --beam::source=/home/tridge/beam/samba3/config.tcl --beam::parser_file=$BP --beam::complaint_file=$BC"
-test_tree samba_3_0 source gcc configure build cc_checker install test
+global_unlock