error messages within test framework

Bart Vandewoestyne Bart.Vandewoestyne at telenet.be
Tue Aug 19 10:11:28 CDT 2008


Hello,

I'm using the test methods described at
http://www.gnu.org/software/octave/doc/interpreter/Test-Functions.html
for testing my functions.

If an error occurs during the test, then the error message
doesn't contain a traceback, for example I get something like:

  ***** test

[... code for my test ...]

!!!!! test failed
error: matrix cannot be indexed with .


It is quite tedious to try to find out where (in what function exactly)
the error occurs.  A traceback would be very helpful here.

Is there a way to see tracebacks when using the testing framework?

I'm currently using Octave 2.9.12.

Thanks,
Bart

-- 
	"Share what you know.  Learn what you don't."


More information about the Help-octave mailing list