On Wed, Dec 09, 2009 at 10:24:58PM +0100, Søren Hauberg wrote:
> tir, 08 12 2009 kl. 23:22 +0100, skrev Thomas Weber:
> > Hi, 
> > 
> > with SVN rev 6619:
> > octave:1> test subset
> > testing subset
> > error: empty error text, probably Ctrl-C --- aborting
> > error: called from:
> > error:   /usr/share/octave/3.2.3/m/testfun/test.m at line 479, column 4
> > 
> > 
> > I'm using Octave 3.2.3. Maybe something changed in Octave's error handling?
> 
> I am not able to reproduce this with the development version. However,
> from time to time the tests do fail for me. I guess this is an algorithm
> that somehow depends on randomisation?

No, the problem is in line 57:
  error(nargchk(2,5,nargin))

This line causes the error. I don't understand why, though. nargin is 2
and calling error(nargchk(2,5,2)) works without problem.

The problem seems to be the call of error() inside a test. The following
function (saved as v.m) shows the same problem:

==========================================================================
function v()
        error(nargchk(2,5,2))
endfunction

%!test v
==========================================================================

        Thomas

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to