octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make check recommended practice?


From: John W. Eaton
Subject: Re: make check recommended practice?
Date: Mon, 03 Dec 2007 13:08:21 -0500

On  3-Dec-2007, David Bateman wrote:

| I'm not sure how in that case to distinguish a test like
| 
| %!test assert(...)
| 
| from an optional test, as the code for the test can immediate follow the
| "test" keyword..

OK.

| This is why I thought a special tag for the optional
| tests would be easy, as in that case the next keyword following the
| "test" keyword is known explicitly to be the optional block.. Maybe
| something like
| 
| %!testif HAVE_CHOLMOD
| %! assert (...)
| 
| mean
| 
| %!test
| %! if (!isempty(findstr(octave_config_info ("DEFS"),"HAVE_CHOLMOD")))
| %!   assert (...)
| %! endif

This seems fine to me.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]