/[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.24 by edhill, Sun Nov 30 01:28:51 2003 UTC revision 1.26 by edhill, Fri Dec 5 14:56:45 2003 UTC
# Line 55  build_mpack() Line 55  build_mpack()
55              HAVE_MPACK=f              HAVE_MPACK=f
56          fi          fi
57          echo -n "building mpack...  "          echo -n "building mpack...  "
58          ( cd $MPACKDIR && ./configure && $MAKE ) > build_mpack.out 2>&1          if test "x$CC" = x ; then
59                export CC=cc
60            fi
61            ( cd $MPACKDIR && ./configure && $MAKE ) > tr_build_mpack.out 2>&1
62          RETVAL=$?          RETVAL=$?
63          if test "x$RETVAL" != x0 ; then          if test "x$RETVAL" != x0 ; then
64              echo              echo
# Line 63  build_mpack() Line 66  build_mpack()
66              echo              echo
67              HAVE_MPACK=f              HAVE_MPACK=f
68          else          else
69                rm -f tr_build_mpack.out
70              HAVE_MPACK=t              HAVE_MPACK=t
71          fi          fi
72      else      else
# Line 630  build_mpack Line 634  build_mpack
634  MACH=`hostname`  MACH=`hostname`
635  UNAMEA=`uname -a`  UNAMEA=`uname -a`
636  DATE=`date +%Y%m%d`  DATE=`date +%Y%m%d`
637  BASE=$MACH"_"$DATE"_"  BASE="tr_"$MACH"_"$DATE"_"
638  DNUM=0  DNUM=0
639  DRESULTS="$BASE$DNUM"  DRESULTS="$BASE$DNUM"
640  while test -e $DRESULTS ; do  while test -e $DRESULTS ; do
# Line 857  rm -f tmp_cmpnum.c tmp_cmpnum Line 861  rm -f tmp_cmpnum.c tmp_cmpnum
861    
862  if test "x$CLEANUP" != xt ; then  if test "x$CLEANUP" != xt ; then
863      cat $SUMMARY      cat $SUMMARY
864      if test -e tr.out ; then      if test -e tr_out.txt ; then
865          mv tr.out tr.out.old          mv tr_out.txt tr_out.txt.old
866      fi      fi
867      cat $SUMMARY > tr.out      cat $SUMMARY > tr_out.txt
868  fi  fi
869    

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.26

  ViewVC Help
Powered by ViewVC 1.1.22