--- MITgcm/verification/testscript 2001/08/10 18:18:52 1.11 +++ MITgcm/verification/testscript 2001/08/15 17:17:01 1.14 @@ -122,7 +122,11 @@ ( cd $1; if [ $quick -eq 0 -o ! -r Makefile ]; then printf 'genmake ... ' 1>&2 - ../../../tools/genmake -ieee -mods=../code > make.log 2>&1 + if [ $ieee -eq 0 ]; then + ../../../tools/genmake -mods=../code > make.log 2>&1 + else + ../../../tools/genmake -ieee -mods=../code > make.log 2>&1 + fi if [ $? -ne 0 ]; then tail make.log echo genmakemodel: genmake failed 1>&2 @@ -282,6 +286,7 @@ -debug Produce even more output which will mean nothing to most -clean Do "make CLEAN" before compiling. This forces a complete rebuild. -longtest Compare numeric output for mean and s.d. of variables. + -noieee By default, $0 uses the -ieee option for genmake. This turns it off. Normal usage: $0 * Configure, compile, run and analyze in all experiment directories @@ -309,6 +314,7 @@ verbose=1 quick=0 clean=0 +ieee=1 longtest=0 expts='' @@ -320,9 +326,11 @@ -verbose) verbose=2;; -debug) debug=1;; -clean) clean=1;; + -noieee) ieee=0;; -longtest) longtest=1;; -quiet) verbose=0;; -help) show_help; exit 0;; + -*) echo Unrecognized option:$arg; exit 9;; *) test -d $arg && expts=`echo $expts $arg`;; esac done @@ -367,8 +375,11 @@ echo Experiment: $dir echo unset genmake makedepend make run - results='-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --' - results='-- -- -- -- -- -- -- -- --' + if [ $longtest -gt 0 ]; then + results='-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --' + else + results='-- -- -- -- -- -- -- -- --' + fi genmakemodel $dir/input && genmake=Y \ && makeclean $dir/input \ && makedependmodel $dir/input && makedepend=Y \