/[MITgcm]/MITgcm/verification/testscript
ViewVC logotype

Diff of /MITgcm/verification/testscript

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

revision 1.10 by adcroft, Fri Aug 10 16:49:51 2001 UTC revision 1.12 by adcroft, Mon Aug 13 19:35:20 2001 UTC
# Line 288  Normal usage: Line 288  Normal usage:
288  EOF  EOF
289  }  }
290    
291    scandirs()
292    {
293    if [ $# -eq 0 ]; then
294     for arg in *
295      do
296       test -d $arg/input && echo $arg
297     done
298    else
299     echo $*
300    fi
301    }
302    
303  ###############################################################################  ###############################################################################
304    
305  # Main function  # Main function
# Line 315  do Line 327  do
327   esac   esac
328  done  done
329    
330  if [ ${#expts} -eq 0 ]; then  #if [ ${#expts} -eq 0 ]; then
331   echo Scanning all directories  # echo Scanning all directories
332   for arg in *  # for arg in *
333    do  #  do
334     test -d $arg && expts=`echo $expts $arg`  #   test -d $arg && expts=`echo $expts $arg`
335   done  # done
336  fi  #fi
337    expts=`scandirs $expts`
338    
339  createcodelet  createcodelet
340    
# Line 354  do Line 367  do
367   echo Experiment: $dir   echo Experiment: $dir
368   echo   echo
369   unset genmake makedepend make run   unset genmake makedepend make run
370   results='-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --'   if [ $longtest -gt 0 ]; then
371   results='-- -- -- -- -- -- -- -- --'    results='-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --'
372     else
373      results='-- -- -- -- -- -- -- -- --'
374     fi
375   genmakemodel $dir/input && genmake=Y \   genmakemodel $dir/input && genmake=Y \
376   && makeclean $dir/input \   && makeclean $dir/input \
377   && makedependmodel $dir/input && makedepend=Y \   && makedependmodel $dir/input && makedepend=Y \

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.22