--- MITgcm/verification/testreport 2003/11/30 01:28:51 1.24 +++ MITgcm/verification/testreport 2003/12/05 14:56:45 1.26 @@ -1,6 +1,6 @@ #! /usr/bin/env bash # -# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.24 2003/11/30 01:28:51 edhill Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.26 2003/12/05 14:56:45 edhill Exp $ # $Name: $ # @@ -55,7 +55,10 @@ HAVE_MPACK=f fi echo -n "building mpack... " - ( cd $MPACKDIR && ./configure && $MAKE ) > build_mpack.out 2>&1 + if test "x$CC" = x ; then + export CC=cc + fi + ( cd $MPACKDIR && ./configure && $MAKE ) > tr_build_mpack.out 2>&1 RETVAL=$? if test "x$RETVAL" != x0 ; then echo @@ -63,6 +66,7 @@ echo HAVE_MPACK=f else + rm -f tr_build_mpack.out HAVE_MPACK=t fi else @@ -630,7 +634,7 @@ MACH=`hostname` UNAMEA=`uname -a` DATE=`date +%Y%m%d` -BASE=$MACH"_"$DATE"_" +BASE="tr_"$MACH"_"$DATE"_" DNUM=0 DRESULTS="$BASE$DNUM" while test -e $DRESULTS ; do @@ -857,9 +861,9 @@ if test "x$CLEANUP" != xt ; then cat $SUMMARY - if test -e tr.out ; then - mv tr.out tr.out.old + if test -e tr_out.txt ; then + mv tr_out.txt tr_out.txt.old fi - cat $SUMMARY > tr.out + cat $SUMMARY > tr_out.txt fi