make check recommended practice?
John W. Eaton
jwe at bevo.che.wisc.edu
Mon Dec 3 11:12:07 CST 2007
On 3-Dec-2007, David Bateman wrote:
| However, to add a flag for skipped tests would be harder. How would such
| a test that might be skipped look like? Something like
|
| %!testskipifabsent HAVE_PCRE
| %! ## TEST HERE
|
| and then the work to test if the feature is there would go in
| scripts/testfun/test.m. Thinking about this, it probably won't be too
| hard to do this, but what should the test name look like. I don't like
| "testskipifabsent" ..
Maybe handle optional arguments in the "test" block itself? Something
like
%!test if HAVE_PCRE
%! ...
Would that work?
jwe
More information about the Octave-maintainers
mailing list