/[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.7 by edhill, Wed Sep 10 04:02:39 2003 UTC revision 1.8 by edhill, Tue Sep 16 17:46:52 2003 UTC
# Line 20  usage() Line 20  usage()
20      echo "                             (DEF=\"\" for \"/bin/bash\")"      echo "                             (DEF=\"\" for \"/bin/bash\")"
21      echo "  (-c|-command)STRING      command to run"      echo "  (-c|-command)STRING      command to run"
22      echo "                             (DEF=\"make output.txt\")"      echo "                             (DEF=\"make output.txt\")"
23        echo "  (-m|-make)STRING         command to use for \"make\""
24        echo "                             (DEF=\"make\")"
25      echo      echo
26      echo "and where STRING follows a whitespace-delimited format"      echo "and where STRING follows a whitespace-delimited format"
27      echo "such as:"      echo "such as:"
# Line 41  build_mpack() Line 43  build_mpack()
43              exit 1              exit 1
44          fi          fi
45          echo -n "building mpack...  "          echo -n "building mpack...  "
46          ( cd $MPACKDIR && ./configure && make ) > build_mpack.out 2>&1          ( cd $MPACKDIR && ./configure && $MAKE ) > build_mpack.out 2>&1
47          RETVAL=$?          RETVAL=$?
48          if test "x$RETVAL" != x0 ; then          if test "x$RETVAL" != x0 ; then
49              echo              echo
# Line 205  makeclean() Line 207  makeclean()
207          fi          fi
208          printf 'make CLEAN ... ' 2>&1          printf 'make CLEAN ... ' 2>&1
209          if test -r Makefile ; then          if test -r Makefile ; then
210              make CLEAN >> make.log 2>&1              $MAKE CLEAN >> make.log 2>&1
211              RETVAL=$?              RETVAL=$?
212              if test "x$RETVAL" != x0 ; then              if test "x$RETVAL" != x0 ; then
213                  tail make.log                  tail make.log
# Line 225  makedependmodel() Line 227  makedependmodel()
227      (      (
228          cd $1;          cd $1;
229          printf 'make depend ... ' 1>&2          printf 'make depend ... ' 1>&2
230          make depend >> make.log 2>&1          $MAKE depend >> make.log 2>&1
231          RETVAL=$?          RETVAL=$?
232          if test "x$RETVAL" != x0 ; then          if test "x$RETVAL" != x0 ; then
233              tail make.log              tail make.log
# Line 245  makemodel() Line 247  makemodel()
247          cd $1;          cd $1;
248          if test -r Makefile ; then          if test -r Makefile ; then
249              printf 'make ... ' 1>&2              printf 'make ... ' 1>&2
250              make >> make.log 2>&1              $MAKE >> make.log 2>&1
251              RETVAL=$?              RETVAL=$?
252              if test "x$RETVAL" != x0 ; then              if test "x$RETVAL" != x0 ; then
253                  tail make.log                  tail make.log
# Line 406  TESTDIRS= Line 408  TESTDIRS=
408  MPACKDIR="../tools/mpack-1.6"  MPACKDIR="../tools/mpack-1.6"
409  MPACK="$MPACKDIR/mpack"  MPACK="$MPACKDIR/mpack"
410  COMMAND="make output.txt"  COMMAND="make output.txt"
411    MAKE=make
412  MPI=f  MPI=f
413    
414  echo -n "parsing options...  "  echo -n "parsing options...  "
# Line 452  for ac_option ; do Line 455  for ac_option ; do
455          -command=* | --command=*)          -command=* | --command=*)
456              COMMAND=$ac_optarg ;;              COMMAND=$ac_optarg ;;
457    
458            -make | --make | -m | --m)
459                ac_prev=MAKE ;;
460            -make=* | --make=*)
461                MAKE=$ac_optarg ;;
462    
463          -mpi) MPI=t ;;          -mpi) MPI=t ;;
464          -verbose) verbose=2 ;;          -verbose) verbose=2 ;;
465          -debug) debug=1 ;;          -debug) debug=1 ;;

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.22