/[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.177 by jmc, Fri Aug 17 21:29:51 2012 UTC revision 1.181 by jmc, Thu Apr 4 14:32:31 2013 UTC
# Line 1280  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 1296  fi Line 1296  fi
1296  #  Create a uniquely named directory to store results  #  Create a uniquely named directory to store results
1297  CMDLINE=$0  CMDLINE=$0
1298  for xx in "$@" ; do nw=`echo $xx | wc -w`  for xx in "$@" ; do nw=`echo $xx | wc -w`
1299      if test $nw = '1' ; then CMDLINE="$CMDLINE $xx"      if test $nw = '1' ; then CMDLINE="$CMDLINE $xx" ; else
1300                          else CMDLINE="$CMDLINE '$xx'" ; fi        nb=`echo $xx | grep -c '='`
1301          if test $nb = 0 ; then CMDLINE="$CMDLINE '$xx'"
1302          else yy=`echo "$xx'" | sed "s/=/='/"` ;
1303                                 CMDLINE="$CMDLINE $yy" ; fi
1304        fi
1305  done  done
1306  #for xx in "$@" ; do CMDLINE="$CMDLINE '$xx'" ; done  #for xx in "$@" ; do CMDLINE="$CMDLINE '$xx'" ; done
1307  MACH=`hostname`  MACH=`hostname`
# Line 1344  if test "x$OPTFILE" != xNONE ; then Line 1348  if test "x$OPTFILE" != xNONE ; then
1348          echo >> $SUMMARY          echo >> $SUMMARY
1349          echo "  OPTFILE=$OPTFILE" >> $SUMMARY          echo "  OPTFILE=$OPTFILE" >> $SUMMARY
1350      else      else
1351          echo | tee $SUMMARY          echo | tee -a $SUMMARY
1352          echo "ERROR: can't read OPTFILE=\"$OPTFILE\"" | tee $SUMMARY          echo "ERROR: can't read OPTFILE=\"$OPTFILE\"" | tee -a $SUMMARY
1353          exit 1          exit 1
1354      fi      fi
1355  else  else
# Line 1372  if test $KIND = 0 ; then Line 1376  if test $KIND = 0 ; then
1376  else  else
1377      line_0=`printf '%s %2i' 'default   ' $MATCH_CRIT`      line_0=`printf '%s %2i' 'default   ' $MATCH_CRIT`
1378    if test $KIND = 1 ; then    if test $KIND = 1 ; then
1379      echo "TANGLIN=true" >> $SUMMARY     #echo "TANGLIN=true" >> $SUMMARY
1380        echo "TangLin generated by TAF" >> $SUMMARY
1381      elif test $KIND = 3 ; then
1382        echo "TangLin generated by OpenAD" >> $SUMMARY
1383      elif test $KIND = 2 ; then
1384       #echo "ADJOINT=true" >> $SUMMARY
1385        echo "Adjoint generated by TAF" >> $SUMMARY
1386      else
1387        echo "Adjoint generated by OpenAD" >> $SUMMARY
1388      fi
1389      if test $KIND = 1 -o $KIND = 3 ; then
1390      line_1="G D M    C  T  F"      line_1="G D M    C  T  F"
1391      line_2="e p a R  o  L  D"      line_2="e p a R  o  L  D"
1392    else    else
     echo "ADJOINT=true" >> $SUMMARY  
1393      line_1="G D M    C  A  F"      line_1="G D M    C  A  F"
1394      line_2="e p a R  o  d  D"      line_2="e p a R  o  d  D"
1395    fi    fi
# Line 1384  else Line 1397  else
1397      line_4="2 d e n  t  r  r"      line_4="2 d e n  t  r  r"
1398      echo >> $SUMMARY      echo >> $SUMMARY
1399  fi  fi
1400    if test "x$CLEANUP" != xt ; then
1401      echo "$line_0" | tee -a $SUMMARY      echo "$line_0" | tee -a $SUMMARY
1402      echo "$line_1" | tee -a $SUMMARY      echo "$line_1" | tee -a $SUMMARY
1403      echo "$line_2" | tee -a $SUMMARY      echo "$line_2" | tee -a $SUMMARY
1404      echo "$line_3" | tee -a $SUMMARY      echo "$line_3" | tee -a $SUMMARY
1405      echo "$line_4" | tee -a $SUMMARY      echo "$line_4" | tee -a $SUMMARY
1406      echo ""        | tee -a $SUMMARY      echo ""        | tee -a $SUMMARY
1407    fi
1408  echo "-------------------------------------------------------------------------------"  echo "-------------------------------------------------------------------------------"
1409    
1410  #  ...and each test directory...  #  ...and each test directory...
# Line 1694  fi Line 1709  fi
1709  if test "x$DELDIR" = xt ; then  if test "x$DELDIR" = xt ; then
1710      rm -rf $DRESULTS      rm -rf $DRESULTS
1711  fi  fi
1712    echo "======== End of testreport execution ========"

Legend:
Removed from v.1.177  
changed lines
  Added in v.1.181

  ViewVC Help
Powered by ViewVC 1.1.22