| 137 |
rm -f tr_clean_$tt.log |
rm -f tr_clean_$tt.log |
| 138 |
echo $tt | grep '^.ad' > /dev/null 2>&1 ; fwd=$? |
echo $tt | grep '^.ad' > /dev/null 2>&1 ; fwd=$? |
| 139 |
echo $tt | grep '^tap' > /dev/null 2>&1 ; tap=$? |
echo $tt | grep '^tap' > /dev/null 2>&1 ; tap=$? |
| 140 |
if test $tt = g7a -o $tap = 0 ; then fwd=0 ; clOpt='-adm' ; fi |
if test $tt = g7a ; then fwd=0 ; fi |
| 141 |
echo " testing tt= $tt , fwd= $fwd" |
echo " testing tt= $tt , fwd= $fwd , tap= $tap" |
| 142 |
if test -e $gcmDIR/.git/config -a -d $gcmDIR/verification ; then |
if test -e $gcmDIR/.git/config -a -d $gcmDIR/verification ; then |
| 143 |
#- cleaning previous testreport run and updating the code: |
#- cleaning previous testreport run and updating the code: |
| 144 |
if [ $fwd -eq 0 ] ; then |
if [ $fwd -eq 0 -o $tap -eq 0 ] ; then |
| 145 |
if test $tt = 'tapAD' ; then clOpt='-tap -adm' ; fi |
if test $tt = 'tapTL' ; then clOpt='-tlm' ; else clOpt='-adm' ; fi |
| 146 |
if test $tt = 'tapTL' ; then clOpt='-tap -tlm' ; fi |
if [ $tap -eq 0 ] ; then clOpt="-tap $clOpt" ; fi |
| 147 |
set -x |
set -x |
| 148 |
#- cleanup previous test: |
#- cleanup previous test: |
| 149 |
( cd $gcmDIR/verification ; ./testreport $clOpt -clean > ../../tr_clean_$tt.log 2>&1 ) |
( cd $gcmDIR/verification ; ./testreport $clOpt -clean > ../../tr_clean_$tt.log 2>&1 ) |