/[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.14 by edhill, Fri Nov 7 21:32:19 2003 UTC revision 1.17 by edhill, Tue Nov 11 16:10:33 2003 UTC
# Line 81  testoutput_for_prop() Line 81  testoutput_for_prop()
81          echo testoutput_for_prop: grep "$2" $1/$4/output.txt 1>&2          echo testoutput_for_prop: grep "$2" $1/$4/output.txt 1>&2
82      fi      fi
83      if [ -r $1/$4/output.txt ]; then      if [ -r $1/$4/output.txt ]; then
84          grep "$2" $1/$4/output.txt | sed 's/.*=//' | nl > tmp1.txt          grep "$2" $1/$4/output.txt | sed 's/.*=//' | cat -n > tmp1.txt
85          lncnt=`wc -l tmp1.txt | awk '{print $1}' `          lncnt=`wc -l tmp1.txt | awk '{print $1}' `
86          if [ $lncnt -lt 3 ]; then          if [ $lncnt -lt 3 ]; then
87              if [ $verbose -gt 0 ]; then              if [ $verbose -gt 0 ]; then
# Line 96  testoutput_for_prop() Line 96  testoutput_for_prop()
96      if [ $debug -gt 0 ]; then      if [ $debug -gt 0 ]; then
97          echo testoutput_for_prop: grep "$2" $1/results/output.txt 1>&2          echo testoutput_for_prop: grep "$2" $1/results/output.txt 1>&2
98      fi      fi
99      grep "$2" $1/results/output.txt | sed 's/.*=//' | nl > tmp2.txt      grep "$2" $1/results/output.txt | sed 's/.*=//' | cat -n > tmp2.txt
100      lncnt=`wc -l tmp2.txt | awk '{print $1}' `      lncnt=`wc -l tmp2.txt | awk '{print $1}' `
101      if [ $lncnt -lt 3 ]; then      if [ $lncnt -lt 3 ]; then
102          if [ $verbose -gt 0 ]; then          if [ $verbose -gt 0 ]; then
# Line 580  if test "x$RETVAL" != x0 ; then Line 580  if test "x$RETVAL" != x0 ; then
580  fi  fi
581  SUMMARY="$DRESULTS/summary.txt"  SUMMARY="$DRESULTS/summary.txt"
582  echo -n "Start time:  " >> $SUMMARY  echo -n "Start time:  " >> $SUMMARY
583  date > $SUMMARY  start_date=`date`
584  date > dfile  echo $start_date > $SUMMARY
585  cat << EOF >> $SUMMARY  cat << EOF >> $SUMMARY
586                  T           S           U           V                  T           S           U           V
587  G D M    c        m  s        m  s        m  s        m  s  G D M    c        m  s        m  s        m  s        m  s
# Line 749  for dir in $TESTDIRS ; do Line 749  for dir in $TESTDIRS ; do
749  done  done
750    
751  echo -n "Start time:  " >> $SUMMARY  echo -n "Start time:  " >> $SUMMARY
752  date -r dfile >> $SUMMARY  echo $start_date >> $SUMMARY
753  echo -n "End time:    " >> $SUMMARY  echo -n "End time:    " >> $SUMMARY
754  date >> $SUMMARY  date >> $SUMMARY
755    
756  rm tmp_cmpnum.f a.out dfile  rm tmp_cmpnum.f a.out
757    
758  if test "x$CLEANUP" != xt ; then  if test "x$CLEANUP" != xt ; then
759      cat $SUMMARY      cat $SUMMARY

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.22