/[MITgcm]/MITgcm/tools/example_scripts/csail/test_faulks
ViewVC logotype

Diff of /MITgcm/tools/example_scripts/csail/test_faulks

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

revision 1.8 by jmc, Wed Jun 24 23:41:42 2009 UTC revision 1.9 by jmc, Fri Jun 26 16:51:24 2009 UTC
# Line 62  fi Line 62  fi
62    
63  #------------------------------------------------------------------------  #------------------------------------------------------------------------
64    
65    firstTst=`echo $tst_list | awk '{print $1}'`
66    last_Tst=`echo $tst_list | awk '{print $NF}'`
67  for tt in $tst_list  for tt in $tst_list
68  do  do
69    
# Line 96  do Line 98  do
98     *) OPTFILE= ;;     *) OPTFILE= ;;
99   esac   esac
100    
101     if test $sepDir = 0 -a $checkOut = '1' -a  $tt = $firstTst ; then
102    #-- cleaning:
103      echo "======================"
104      echo "Cleaning test directories:"
105        cmdCLN="./testreport -clean"
106        echo " clean dir running: $cmdCLN"
107        $cmdCLN > /dev/null 2>&1
108      echo "======================"
109      echo
110     fi
111    
112   if test $typ = 'g77'   if test $typ = 'g77'
113   then   then
114    
# Line 280  do Line 293  do
293      echo " clean tst_2+2 running: $cmdCLN"      echo " clean tst_2+2 running: $cmdCLN"
294      $cmdCLN >> $tdir/output_2+2 2>&1      $cmdCLN >> $tdir/output_2+2 2>&1
295    fi    fi
296      if test $tt != $last_Tst ; then
297      cmdCLN="./testreport -clean"      cmdCLN="./testreport -clean"
298      echo " clean dir running: $cmdCLN"      echo " clean dir running: $cmdCLN"
299      $cmdCLN > /dev/null 2>&1      $cmdCLN > /dev/null 2>&1
300      fi
301    echo "======================"    echo "======================"
302    echo    echo
303   fi   fi

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.22