--- MITgcm/verification/testreport 2003/09/02 21:06:21 1.3 +++ MITgcm/verification/testreport 2003/09/03 20:02:47 1.4 @@ -1,6 +1,6 @@ #!/bin/bash # -# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.3 2003/09/02 21:06:21 edhill Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.4 2003/09/03 20:02:47 edhill Exp $ # usage() @@ -13,6 +13,7 @@ echo " (-optfile=|-of=)STRING list of genmake2 \"optfiles\"" echo " (-a|-addr)STRING list of email recipients" echo " (-t|-tdir)STRING list of \"test\" dirs" + echo " (-b|-bash)STRING location of \"bash\" executable" echo exit 1 } @@ -160,7 +161,7 @@ genmakemodel() { # genmakemodel directory - GENMAKE2="../../../tools/genmake2" + GENMAKE2="$BASH ../../../tools/genmake2" ( cd $1; printf 'genmake ... ' 1>&2 @@ -388,6 +389,7 @@ ieee=1 expts='' +BASH= OPTFILES= ADDRESSES=edhill@mitgcm.org TESTDIRS= @@ -428,6 +430,11 @@ -tdir=* | --tdir=*) TESTDIRS=$ac_optarg ;; + -bash | --bash | -b | --b) + ac_prev=BASH ;; + -bash=* | --bash=*) + BASH=$ac_optarg ;; + -quick) quick=1 ;; -verbose) verbose=2 ;; -debug) debug=1 ;;