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 12:12:07 -0500

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



reply via email to

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