/[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.80 by jmc, Thu Jun 8 21:39:35 2006 UTC revision 1.82 by jmc, Sun Jun 18 21:20:51 2006 UTC
# Line 495  linkdata() Line 495  linkdata()
495                          ln -sf "../input_ad/"$i $i                          ln -sf "../input_ad/"$i $i
496                      fi                      fi
497                  done                  done
498                  files=`( cd ../input ; ls -1 | grep -v CVS )`                  if test -d "../input" ; then
499                  for i in $files ; do                    files=`( cd ../input ; ls -1 | grep -v CVS )`
500                      for i in $files ; do
501                      if test ! -d "../input/"$i ; then                      if test ! -d "../input/"$i ; then
502                       if test ! -r $i  ; then                       if test ! -r $i  ; then
503                          ln -sf "../input/"$i $i                          ln -sf "../input/"$i $i
504                       fi                       fi
505                      fi                      fi
506                  done                    done
507                    fi
508              fi              fi
509          )          )
510      fi      fi
# Line 637  EOF Line 639  EOF
639    
640  scandirs()  scandirs()
641  {  {
642      if [ $# -eq 0 ]; then      if [ $# -eq 1 ]; then
643          for arg in * ; do          for arg in * ; do
644              test -d $arg/input && echo $arg              test -d $arg/$1 && echo $arg
645          done          done
646      else      else
647          echo $*          echo $*
648      fi      fi
649  }  }
650    
# Line 805  if test "x$QUICK" = xt ; then Line 807  if test "x$QUICK" = xt ; then
807  fi  fi
808    
809  if test "x$TESTDIRS" = x ; then  if test "x$TESTDIRS" = x ; then
810      TESTDIRS=`scandirs`      if test "x$ADM" = xt ; then
811            TESTDIRS=`scandirs results_ad`
812        else
813            TESTDIRS=`scandirs results`
814        fi
815  fi  fi
816    
817  if test "x$OPTFILE" = xNONE -a "x$MITGCM_OF" != x ; then  if test "x$OPTFILE" = xNONE -a "x$MITGCM_OF" != x ; then

Legend:
Removed from v.1.80  
changed lines
  Added in v.1.82

  ViewVC Help
Powered by ViewVC 1.1.22