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

Diff of /MITgcm/tools/example_scripts/csail/test_dickens

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

revision 1.13 by jmc, Tue May 18 19:50:29 2010 UTC revision 1.14 by jmc, Sat Sep 18 00:07:53 2010 UTC
# Line 33  tst_list='adm g77 gfo+rs mth' Line 33  tst_list='adm g77 gfo+rs mth'
33  #option="-nc" ; checkOut=0  #option="-nc" ; checkOut=0
34  #option="-q"  ; checkOut=0  #option="-q"  ; checkOut=0
35    
36    TODAY=`date +%d`
37  tdir=$TESTDIR  tdir=$TESTDIR
38  if test $checkOut = '0' ; then  if test $checkOut = '0' ; then
39   if test -e $tdir/MITgcm/CVS ; then   if test -e $tdir/MITgcm/CVS ; then
# Line 76  do Line 77  do
77    
78   echo "================================================================"   echo "================================================================"
79   typ=`echo $tt | sed 's/+rs//'`   typ=`echo $tt | sed 's/+rs//'`
80     #- check day and time:
81     curDay=`date +%d` ; curHour=`date +%H`
82     if [ $curDay -ne $TODAY ] ; then
83       date ; echo "day is over => skip test $typ"
84       continue
85     fi
86     if [ $curHour -ge 18 ] ; then
87       date ; echo "too late to run test $typ"
88       continue
89     fi
90   #- clean-up old output files   #- clean-up old output files
91   rm -f $tdir/output_${typ}*   rm -f $tdir/output_${typ}*
92   if test $sepDir = 1 ; then   if test $sepDir = 1 ; then

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.22