/[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.84 by jmc, Fri Jul 7 21:47:35 2006 UTC revision 1.85 by jmc, Fri Jul 14 22:00:51 2006 UTC
# Line 111  testoutput_for_prop() Line 111  testoutput_for_prop()
111          return 99          return 99
112      fi      fi
113      if [ $debug -gt 0 ]; then      if [ $debug -gt 0 ]; then
114          echo testoutput_for_prop: grep "$2" $1/results/output.txt$5 1>&2          echo testoutput_for_prop: grep "$2" $1/results/output.$5 1>&2
115      fi      fi
116      grep "$2" $1/results/output.txt$5 | sed 's/.*=//' | cat -n > tmp2.txt      grep "$2" $1/results/output.$5 | sed 's/.*=//' | cat -n > tmp2.txt
117      lncntB=`wc -l tmp2.txt | awk '{print $1}' `      lncntB=`wc -l tmp2.txt | awk '{print $1}' `
118      if [ $lncntB -lt 3 ]; then      if [ $lncntB -lt 3 ]; then
119          if [ $verbose -gt 0 ]; then          if [ $verbose -gt 0 ]; then
# Line 1063  for dir in $TESTDIRS ; do Line 1063  for dir in $TESTDIRS ; do
1063          #echo "ex_run_dirs='$ex_run_dirs'"          #echo "ex_run_dirs='$ex_run_dirs'"
1064          for exd in $ex_run_dirs ; do          for exd in $ex_run_dirs ; do
1065              name=`echo $exd | sed -e 's/input.//g'`              name=`echo $exd | sed -e 's/input.//g'`
1066              outf="$dir/results/output.txt.$name"              outf="$dir/results/output.$name.txt"
1067              if test -f $outf -a -r $outf ; then              if test -f $outf -a -r $outf ; then
1068                  if test "x$MULTI_THREAD" = "xt" ; then                  if test "x$MULTI_THREAD" = "xt" ; then
1069                      if test -r $dir"/"$exd"/eedata.mth" ; then                      if test -r $dir"/"$exd"/eedata.mth" ; then
# Line 1106  for dir in $TESTDIRS ; do Line 1106  for dir in $TESTDIRS ; do
1106              && makemodel $dir/$builddir && make=Y \              && makemodel $dir/$builddir && make=Y \
1107              && linkdata $dir/$rundir $input_dirs \              && linkdata $dir/$rundir $input_dirs \
1108              && runmodel $dir/$rundir && run=Y \              && runmodel $dir/$rundir && run=Y \
1109              && results=`testoutput $dir $rundir`              && results=`testoutput $dir $rundir "txt"`
1110      fi      fi
1111            
1112      echo      echo
# Line 1131  for dir in $TESTDIRS ; do Line 1131  for dir in $TESTDIRS ; do
1131              run_clean $dir/tr_run.$ex              run_clean $dir/tr_run.$ex
1132              linkdata $dir/tr_run.$ex input.$ex input              linkdata $dir/tr_run.$ex input.$ex input
1133              runmodel $dir/tr_run.$ex && run=Y \              runmodel $dir/tr_run.$ex && run=Y \
1134                  && results=`testoutput $dir tr_run.$ex "."$ex`                  && results=`testoutput $dir tr_run.$ex ${ex}".txt"`
1135              fres=`printf '%s %s %s %s' ${genmake:-N} ${makedepend:-N} ${make:-N} ${run:-N}`              fres=`printf '%s %s %s %s' ${genmake:-N} ${makedepend:-N} ${make:-N} ${run:-N}`
1136              fres=`formatresults $dir ${genmake:-N} ${makedepend:-N} ${make:-N} ${run:-N} $results`              fres=`formatresults $dir ${genmake:-N} ${makedepend:-N} ${make:-N} ${run:-N} $results`
1137              fres="$fres.$ex"              fres="$fres.$ex"

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

  ViewVC Help
Powered by ViewVC 1.1.22