19 |
echo " (-of=|-optfile=)STRING list of optfiles to use" |
echo " (-of=|-optfile=)STRING list of optfiles to use" |
20 |
echo " (-a|-addr) STRING list of email recipients" |
echo " (-a|-addr) STRING list of email recipients" |
21 |
echo " (DEF=\"\" no email is sent)" |
echo " (DEF=\"\" no email is sent)" |
22 |
|
echo " (-mpd|-mpackdir) DIR location of the mpack utility" |
23 |
|
echo " (DEF=\"../tools/mpack-1.6\")" |
24 |
echo " (-t|-tdir) STRING list of group and/or exp. dirs to test" |
echo " (-t|-tdir) STRING list of group and/or exp. dirs to test" |
25 |
echo " (recognized groups: basic, tutorials)" |
echo " (recognized groups: basic, tutorials)" |
26 |
echo " (DEF=\"\" which test all)" |
echo " (DEF=\"\" which test all)" |
67 |
build_mpack() |
build_mpack() |
68 |
{ |
{ |
69 |
printf "building the mpack utility... " |
printf "building the mpack utility... " |
70 |
if test ! -x "$MPACKDIR/mpack" ; then |
MPACK="$MPACKDIR/mpack" |
71 |
|
if test ! -x $MPACK ; then |
72 |
if test ! -d $MPACKDIR ; then |
if test ! -d $MPACKDIR ; then |
73 |
echo |
echo |
74 |
echo "Error: can't find \"$MPACKDIR\"" |
echo "Error: can't find \"$MPACKDIR\"" |
91 |
else |
else |
92 |
rm -f tr_build_mpack.out |
rm -f tr_build_mpack.out |
93 |
HAVE_MPACK=t |
HAVE_MPACK=t |
94 |
echo "OK" |
echo "done" |
95 |
fi |
fi |
96 |
else |
else |
97 |
HAVE_MPACK=t |
HAVE_MPACK=t |
98 |
echo "done" |
echo "already exist" |
99 |
fi |
fi |
100 |
} |
} |
101 |
|
|
226 |
#echo "-- ptr test=" $tst "number of var=" `echo $listVar | awk '{print NF}'` 1>&2 |
#echo "-- ptr test=" $tst "number of var=" `echo $listVar | awk '{print NF}'` 1>&2 |
227 |
if test "x$tst" != xt ; then listVar=`echo "$listVar" | sed "s/ pt$ii..//g"` ; fi |
if test "x$tst" != xt ; then listVar=`echo "$listVar" | sed "s/ pt$ii..//g"` ; fi |
228 |
done |
done |
229 |
tst=`echo $sVar $listVar | awk '{ for(i=2;i<=NF;i++){t+=($i==$1)}; print t }'` |
tst=`echo $sVar $listVar | awk '{ for(i=2;i<=NF;i++){if($i==$1)t+=1}; print t }'` |
230 |
if test $tst != 1 ; then |
if test $tst != 1 ; then |
231 |
if test $tst = 0 ; then echo "==> WARNING: selected var >$sVar< not found" 1>&2 |
if test $tst = 0 ; then echo "==> WARNING: selected var >$sVar< not found" 1>&2 |
232 |
else echo "==> WARNING: found selected var >$sVar< $tst times" 1>&2 ; fi |
else echo "==> WARNING: found selected var >$sVar< $tst times" 1>&2 ; fi |
747 |
SKIPDIRS= |
SKIPDIRS= |
748 |
MPACKDIR="../tools/mpack-1.6" |
MPACKDIR="../tools/mpack-1.6" |
749 |
HAVE_MPACK= |
HAVE_MPACK= |
750 |
MPACK="$MPACKDIR/mpack" |
MPACK= |
751 |
COMMAND= |
COMMAND= |
752 |
if test "x$MAKE" = x ; then |
if test "x$MAKE" = x ; then |
753 |
MAKE=make |
MAKE=make |
796 |
ac_prev=ADDRESSES ;; |
ac_prev=ADDRESSES ;; |
797 |
-addr=* | --addr=*) |
-addr=* | --addr=*) |
798 |
ADDRESSES=$ac_optarg ;; |
ADDRESSES=$ac_optarg ;; |
799 |
|
-mpackdir | --mpackdir | -mpd | --mpd) |
800 |
|
ac_prev=MPACKDIR ;; |
801 |
|
-mpackdir=* | --mpackdir=* | -mpd=* | --mpd=*) |
802 |
|
MPACKDIR=$ac_optarg ;; |
803 |
|
|
804 |
-tdir | --tdir | -t | --t) |
-tdir | --tdir | -t | --t) |
805 |
ac_prev=TESTDIRS ;; |
ac_prev=TESTDIRS ;; |
1106 |
# Cleanup only! |
# Cleanup only! |
1107 |
if test "x$CLEANUP" = xt ; then |
if test "x$CLEANUP" = xt ; then |
1108 |
if test -r $BUILD_DIR/Makefile ; then |
if test -r $BUILD_DIR/Makefile ; then |
1109 |
echo ' ------ clean dir:' $dir/build |
echo ' ------ clean dir:' $dir/$builddir |
1110 |
( cd $BUILD_DIR ; make CLEAN ) |
( cd $BUILD_DIR ; make CLEAN ) |
1111 |
fi |
fi |
1112 |
if test -d $dir/$rundir/CVS ; then |
if test -d $dir/$rundir/CVS ; then |
1255 |
done |
done |
1256 |
|
|
1257 |
printf "Start time: " >> $SUMMARY |
printf "Start time: " >> $SUMMARY |
1258 |
echo $start_date >> $SUMMARY |
echo "$start_date" >> $SUMMARY |
1259 |
printf "End time: " >> $SUMMARY |
printf "End time: " >> $SUMMARY |
1260 |
date >> $SUMMARY |
date >> $SUMMARY |
1261 |
|
|