help-octave
[Top][All Lists]
Advanced

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

error messages within test framework


From: Bart Vandewoestyne
Subject: error messages within test framework
Date: Tue, 19 Aug 2008 17:11:28 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

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."


reply via email to

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