/[MITgcm]/MITgcm/verification/testreport
ViewVC logotype

Diff of /MITgcm/verification/testreport

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

revision 1.83 by jmc, Wed Jul 5 22:39:57 2006 UTC revision 1.84 by jmc, Fri Jul 7 21:47:35 2006 UTC
# Line 18  usage() Line 18  usage()
18      echo "  (-optfile=|-of=)STRING   list of optfiles to use"      echo "  (-optfile=|-of=)STRING   list of optfiles to use"
19      echo "  (-a|-addr) STRING        list of email recipients"      echo "  (-a|-addr) STRING        list of email recipients"
20      echo "                             (DEF=\"edhill@mitgcm.org\")"      echo "                             (DEF=\"edhill@mitgcm.org\")"
21      echo "  (-t|-tdir) STRING        list of test dirs to use"      echo "  (-t|-tdir) STRING        list of group and/or exp. dirs to test"
22      echo "                             (DEF=\"\" which builds all)"      echo "                             (recognized groups: basic, tutorials)"
23        echo "                             (DEF=\"\" which test all)"
24      echo "  (-b|-bash) STRING        preferred location of a \"bash\" or"      echo "  (-b|-bash) STRING        preferred location of a \"bash\" or"
25      echo "                             Bourne-compatible \"sh\" shell"      echo "                             Bourne-compatible \"sh\" shell"
26      echo "                             (DEF=\"\" for \"bash\")"      echo "                             (DEF=\"\" for \"bash\")"
# Line 840  if test "x$TESTDIRS" = x ; then Line 841  if test "x$TESTDIRS" = x ; then
841      else      else
842          TESTDIRS=`scandirs results`          TESTDIRS=`scandirs results`
843      fi      fi
844    else
845        #- expand group of experiments:
846        LIST=" "
847        for xx in $TESTDIRS
848        do
849          case $xx in
850            'basic') LIST=${LIST}" aim.5l_cs front_relax global_ocean.90x40x15"
851                     LIST=${LIST}" hs94.128x64x5 tutorial_barotropic_gyre"
852                     LIST=${LIST}" tutorial_global_oce_biogeo tutorial_plume_on_slope"
853                    ;;
854            'tutorials')
855                     LIST=${LIST}" "`ls | grep 'tutorial_'` ;;
856            *)       LIST=${LIST}" "$xx ;;
857          esac
858        done
859        #echo 'LIST='${LIST}'<'
860        #- remove duplicate and non-directory:
861        TESTDIRS=" "
862        for xx in $LIST
863        do
864            if test -d $xx ; then
865                yy=`echo $TESTDIRS | grep -c $xx`
866                if test $yy = 0 ; then TESTDIRS=${TESTDIRS}" "$xx ; fi
867            else
868                echo " -- skip \"$xx\" : not a directory !"
869            fi
870        done
871  fi  fi
872    #echo 'TESTDIRS='${TESTDIRS}'<'
873    
874  if test "x$OPTFILE" = xNONE -a "x$MITGCM_OF" != x ; then  if test "x$OPTFILE" = xNONE -a "x$MITGCM_OF" != x ; then
875      OPTFILE=$MITGCM_OF      OPTFILE=$MITGCM_OF

Legend:
Removed from v.1.83  
changed lines
  Added in v.1.84

  ViewVC Help
Powered by ViewVC 1.1.22