[MITgcm-support] Testscript2 and cleaning

Ed Hill ed at eh3.com
Thu Sep 25 10:59:38 EDT 2003


On Thu, 2003-09-25 at 10:43, Alistair Adcroft wrote:
> Apart from the use of genmake2, is the only difference between testscript
> and testscript2 the function cleanup_previous_runs()?
>
> This appears to only clean up the input directories and isn't optional (I
> just deleted most of my output by trying testscript2). The -clean option
> cleans before compiling and cleans in the right directories. It would be
> useful to have a -cleanonly option that only cleans and does nothing else.
> We should probably rename -cleanup to -cleanafter and -clean to
> -cleanbefore, to make things clearer.
> 
> I suggest we migrate to using genmake2 by replacing genmake. That's the only
> way we'll make things mature.


Hi Alistair,

Yes, testscript and testscript2 are nearly identical.  The latter is
just a quick hack that I used and then abandoned in preference to
testreport which is documented at:

  http://mitgcm.org/dev_docs/devel_HOWTO/html_onepage/

Please try testreport and let me know how it works for you.  We should
probably delete testscript2 and replace it with a tiny script that calls
testreport but, by default, turns off the email option.

Would that work for you?

Ed

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Room 54-1424;  77 Massachusetts Ave.
            Cambridge, MA 02139-4307
email:   eh3 at mit.edu,  ed at eh3.com
URL:     http://web.mit.edu/eh3/
phone:   617-253-0098
fax:     617-253-4464
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20030925/c745b4d8/attachment.sig>


More information about the MITgcm-support mailing list