/[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.71 by jmc, Tue Aug 16 17:12:46 2005 UTC revision 1.72 by edhill, Tue Aug 16 17:50:31 2005 UTC
# Line 125  testoutput_for_prop() Line 125  testoutput_for_prop()
125          fi          fi
126          return 99          return 99
127      fi      fi
128      non_real_numb=`egrep -c -i 'NAN|INF' tmp1.txt`      has_nan=`cat tmp1.txt | grep -i nan | wc -l`
129      if [ $non_real_numb -gt 0 ]; then      if [ $has_nan -gt 0  ] ; then
130          echo testoutput_for_prop: output.txt has $non_real_numb not real numbers 1>&2          echo testoutput_for_prop: output.txt contains $has_nan NaN values  1>&2
131            return 99
132        fi
133        has_inf=`cat tmp1.txt | grep -i inf | wc -l`
134        if [ $has_inf -gt 0  ] ; then
135            echo testoutput_for_prop: output.txt contains $has_inf Inf values  1>&2
136          return 99          return 99
137      fi      fi
138      if [ $debug -gt 0 ]; then      if [ $debug -gt 0 ]; then

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.72

  ViewVC Help
Powered by ViewVC 1.1.22