--- MITgcm/verification/testreport 2004/07/17 02:08:45 1.45 +++ MITgcm/verification/testreport 2004/08/03 02:48:57 1.47 @@ -1,6 +1,6 @@ #! /usr/bin/env bash # -# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.45 2004/07/17 02:08:45 edhill Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.47 2004/08/03 02:48:57 edhill Exp $ # $Name: $ # @@ -237,7 +237,7 @@ $command > make.log 2>&1 RETVAL=$? # Reduce the size of the testing emails! - # cp Makefile $CDIR + head -100 Makefile > $CDIR/Makefile_head if test "x$RETVAL" != x0 ; then tail make.log echo "genmakemodel: genmake failed" 1>&2 @@ -422,11 +422,13 @@ printf 'runmodel ... ' 1>&2 # make output.txt echo + rm -f run.log # echo "COMMAND='$COMMAND'" # echo "pwd='"`pwd`"'" - ( eval $COMMAND ) >> run.log 2>&1 + ( eval $COMMAND ) > run.log 2>&1 RETVAL=$? if test "x$RETVAL" = x0 ; then + tail run.log echo successful 1>&2 # === Reduce the size of the testing emails! # if test "x$ADM" = x ; then