| 13 |
dd1=`date +%d -d "1 day"` |
dd1=`date +%d -d "1 day"` |
| 14 |
# if test $dd1 != '01' ; then echo 'not last day of month'; exit ; fi |
# if test $dd1 != '01' ; then echo 'not last day of month'; exit ; fi |
| 15 |
elif test $1 = gfort ; then |
elif test $1 = gfort ; then |
| 16 |
tst_list='gadm gads gad4 gmp4 gmp2 gfo gfo4 g77' |
tst_list='gadm gads gad4 gmp4 gmp2 gfo gfo4 g77 g7a' |
| 17 |
elif test $1 = gfor8 ; then |
elif test $1 = gfor8 ; then |
| 18 |
# tst_list='gadm gads gmp2 gmpi gfo g77' |
# tst_list='gadm gads gmp2 gmpi gfo g77' |
| 19 |
tst_list='gadm gads gmp2 gfo' |
tst_list='gadm gads gmp2 gfo' |
| 75 |
# set -x |
# set -x |
| 76 |
rm -f tr_clean_$tt.log |
rm -f tr_clean_$tt.log |
| 77 |
echo $tt | grep '^.ad' > /dev/null 2>&1 ; fwd=$? |
echo $tt | grep '^.ad' > /dev/null 2>&1 ; fwd=$? |
| 78 |
|
if test $tt = g7a ; then fwd=0 ; fi |
| 79 |
echo " testing tt= $tt , fwd= $fwd" |
echo " testing tt= $tt , fwd= $fwd" |
| 80 |
if test -e $gcmDIR/.git/config -a -d $gcmDIR/verification ; then |
if test -e $gcmDIR/.git/config -a -d $gcmDIR/verification ; then |
| 81 |
#- cleaning previous testreport run and updating the code: |
#- cleaning previous testreport run and updating the code: |
| 234 |
|
|
| 235 |
sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log |
sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log |
| 236 |
;; |
;; |
| 237 |
|
|
| 238 |
|
'g7a') |
| 239 |
|
|
| 240 |
|
./testreport -adm -of ../tools/build_options/linux_amd64_g77 \ |
| 241 |
|
-nc $sendCmd >> ../../tr_run_$tt.log 2>&1 |
| 242 |
|
|
| 243 |
|
sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log |
| 244 |
|
;; |
| 245 |
|
|
| 246 |
'gmp2') |
'gmp2') |
| 247 |
|
|