--- mitgcm.org/front_content/make_summary 2009/02/16 18:07:20 1.48 +++ mitgcm.org/front_content/make_summary 2009/04/16 14:44:16 1.49 @@ -1,6 +1,6 @@ #! /usr/bin/env bash -# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/front_content/make_summary,v 1.48 2009/02/16 18:07:20 jmc Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/front_content/make_summary,v 1.49 2009/04/16 14:44:16 jmc Exp $ # # The purpose of this script is to create HTML summaries of the # directories produced by the "parse_emails" script. @@ -278,11 +278,13 @@ ADJOINT= RESTART=0 NOI3E=0 + MTH=0 if test -r $dir/summary.txt ; then comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null` eval $comm RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt` - NOI3E=`grep -c "^run: .*testreport .* '*-noieee'* " $dir/summary.txt` + NOI3E=`grep -c "^run: .*testreport.* '*-noieee'* " $dir/summary.txt` + MTH=`grep -c "^run: .*testreport.* -mth " $dir/summary.txt` fi if test "x$RESTART" = x0 ; then kind="forward" @@ -293,6 +295,10 @@ if test "x$NOI3E" = x1 ; then OPTFILE="${OPTFILE}.noieee" fi + if test "x$MTH" = x1 ; then + yy=`echo $OPTFILE | grep -c 'mth$'` + if test $yy = 0 ; then OPTFILE="${OPTFILE}+mth" ; fi + fi t_pass="--" t_tot="--"