/[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.150 by jmc, Tue Dec 14 18:45:52 2010 UTC revision 1.151 by jmc, Wed Dec 15 17:46:30 2010 UTC
# Line 1392  for dir in $TESTDIRS ; do Line 1392  for dir in $TESTDIRS ; do
1392              mkOpt=`grep '^# OPTFILE=' $dir/$builddir/Makefile 2>/dev/null | head -1 | sed 's/^# //'`              mkOpt=`grep '^# OPTFILE=' $dir/$builddir/Makefile 2>/dev/null | head -1 | sed 's/^# //'`
1393              echo "from '$dir/$builddir/Makefile', extract:" > $DRESULTS/genmake_state              echo "from '$dir/$builddir/Makefile', extract:" > $DRESULTS/genmake_state
1394              sed -n '/^# executed by:/,+1 p' $dir/$builddir/Makefile >> $DRESULTS/genmake_state              sed -n '/^# executed by:/,+1 p' $dir/$builddir/Makefile >> $DRESULTS/genmake_state
1395              echo $mkOpt >> $DRESULTS/genmake_state              echo " $mkOpt" >> $DRESULTS/genmake_state
1396              gmkLog=$dir/$builddir/genmake.log              gmkLog=$dir/$builddir/genmake.log
1397              grep '^Get compiler version using:' $gmkLog > /dev/null 2>&1              grep '^Get compiler version using:' $gmkLog > /dev/null 2>&1
1398              RETVAL=$?              RETVAL=$?
1399              if test "x$RETVAL" = x0 ; then              if test "x$RETVAL" = x0 ; then
1400                  echo "from '$gmkLog', extract compiler version:" >> $DRESULTS/genmake_state                  echo "from '$gmkLog', extract compiler version:" >> $DRESULTS/genmake_state
1401                  sed -n '/Get compiler version/,/--- compiler version/p' $gmkLog | \                  sed -n '/Get compiler version/,/<-- compiler version/p' $gmkLog \
1402                         grep -v '^... compiler version ' > tr_vers.tmp_log                         | grep -v '^... compiler version ' > tr_vers.tmp_log
1403                  grep -i 'version ' tr_vers.tmp_log >> $DRESULTS/genmake_state                  sed -n '1,/^$/p' tr_vers.tmp_log | sed '/^$/d' | sed 's/^./ &/' \
1404                  RETVAL=$?                          >> $DRESULTS/genmake_state
                 if test "x$RETVAL" != x0 ; then  
                    cat tr_vers.tmp_log >> $DRESULTS/genmake_state  
                 fi  
1405                  rm -f tr_vers.tmp_log                  rm -f tr_vers.tmp_log
1406              fi              fi
1407          fi          fi

Legend:
Removed from v.1.150  
changed lines
  Added in v.1.151

  ViewVC Help
Powered by ViewVC 1.1.22