/[MITgcm]/MITgcm_contrib/test_scripts/other/test_local
ViewVC logotype

Diff of /MITgcm_contrib/test_scripts/other/test_local

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.15 by jmc, Wed Jun 14 04:18:20 2023 UTC revision 1.16 by jmc, Sun Oct 1 16:00:51 2023 UTC
# Line 137  do Line 137  do
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 )

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.22