make check recommended practice?
John W. Eaton
jwe at bevo.che.wisc.edu
Mon Dec 3 12:08:21 CST 2007
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
More information about the Octave-maintainers
mailing list