/[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.176 by jmc, Thu Aug 16 18:44:48 2012 UTC revision 1.178 by jmc, Sat Aug 18 19:01:54 2012 UTC
# Line 534  makemodel() Line 534  makemodel()
534              mk_fail=2              mk_fail=2
535          fi          fi
536      fi      fi
537        if test $KIND = 1 -a -f taf_ftl.log ; then
538                head -1 taf_ftl.log >> $CDIR"/summary.txt"
539        fi
540      if test $KIND = 2 -a -f taf_ad.log ; then      if test $KIND = 2 -a -f taf_ad.log ; then
541              head -1 taf_ad.log >> $CDIR"/summary.txt"              head -1 taf_ad.log >> $CDIR"/summary.txt"
542              nerr=`grep -c 'TAF *.* ERROR ' taf_ad.log`              nerr=`grep -c 'TAF *.* ERROR ' taf_ad.log`
# Line 802  runmodel() Line 805  runmodel()
805            fi            fi
806          fi          fi
807          rm -f run.log_tmp          rm -f run.log_tmp
808          #- in all cases where OutputFile exists, report SIZE (and AD time)          #- in all cases where OutputFile exists, report SIZE and time
809          if test -f $OUTPUTFILE ; then          if test -f $OUTPUTFILE ; then
810            grep '(PID\.TID 0000\.0001)      n.. =' $OUTPUTFILE \            grep '(PID\.TID 0000\.0001)      n.. =' $OUTPUTFILE \
811                  | sed 's/(PID.TID 0000.0001)     //' >> $CDIR"/summary.txt"                  | sed 's/(PID.TID 0000.0001)   //' >> $CDIR"/summary.txt"
812            if test $KIND = 2 ; then            grep -A3 'Seconds in section "ALL' $OUTPUTFILE \
813              grep -A3 'Seconds in section "ALL' $OUTPUTFILE >> $CDIR"/summary.txt"                  | sed 's/(PID.TID 0000.0001)   //' >> $CDIR"/summary.txt"
           fi  
814          fi          fi
815          if test -s STDERR.0000 ; then cp STDERR.0000 $CDIR"/STDERR.0000" ; fi          if test -s STDERR.0000 ; then cp STDERR.0000 $CDIR"/STDERR.0000" ; fi
816          if [ $RETVAL -eq 0 -a $ENDVAL -gt 0 ] ; then          if [ $RETVAL -eq 0 -a $ENDVAL -gt 0 ] ; then
# Line 1278  else Line 1280  else
1280  fi  fi
1281    
1282  #  create the FORTRAN comparison code  #  create the FORTRAN comparison code
1283  if test -x tr_cmpnum ; then  if test "x$CLEANUP" = xt -o -x tr_cmpnum ; then
1284      echo "skipping comparison code build"      echo "skipping comparison code build"
1285  else  else
1286      createcodelet      createcodelet
# Line 1382  else Line 1384  else
1384      line_4="2 d e n  t  r  r"      line_4="2 d e n  t  r  r"
1385      echo >> $SUMMARY      echo >> $SUMMARY
1386  fi  fi
1387    if test "x$CLEANUP" != xt ; then
1388      echo "$line_0" | tee -a $SUMMARY      echo "$line_0" | tee -a $SUMMARY
1389      echo "$line_1" | tee -a $SUMMARY      echo "$line_1" | tee -a $SUMMARY
1390      echo "$line_2" | tee -a $SUMMARY      echo "$line_2" | tee -a $SUMMARY
1391      echo "$line_3" | tee -a $SUMMARY      echo "$line_3" | tee -a $SUMMARY
1392      echo "$line_4" | tee -a $SUMMARY      echo "$line_4" | tee -a $SUMMARY
1393      echo ""        | tee -a $SUMMARY      echo ""        | tee -a $SUMMARY
1394    fi
1395  echo "-------------------------------------------------------------------------------"  echo "-------------------------------------------------------------------------------"
1396    
1397  #  ...and each test directory...  #  ...and each test directory...
# Line 1692  fi Line 1696  fi
1696  if test "x$DELDIR" = xt ; then  if test "x$DELDIR" = xt ; then
1697      rm -rf $DRESULTS      rm -rf $DRESULTS
1698  fi  fi
1699    echo "======== End of testreport execution ========"

Legend:
Removed from v.1.176  
changed lines
  Added in v.1.178

  ViewVC Help
Powered by ViewVC 1.1.22