[Top][All Lists]

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

[Octave-bug-tracker] [bug #37518] test always dumps shared variables on

From: Rik
Subject: [Octave-bug-tracker] [bug #37518] test always dumps shared variables on failure
Date: Fri, 12 Oct 2012 04:01:43 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0

Update of bug #37518 (project octave):

                  Status:               Need Info => Invalid                
             Open/Closed:                    Open => Closed                 


Follow-up Comment #2:

%!test is behaving as it should.  The shared variables are part of the system
state and need to be displayed in order to allow debugging.  For example,
testing functions with random inputs is a good methodology, but it wouldn't
work if a function failed and you couldn't determine what the problem input
was.  This common case is outlined below.

%!shared testdat
%! testdat = rand (100,100);
%!assert (some_function (testdat), some_other_func (testdat));


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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