octave-patch-tracker
[Top][All Lists]
Advanced

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

[Octave-patch-tracker] [patch #8033] Implement missing function evalc()


From: Oliver Heimlich
Subject: [Octave-patch-tracker] [patch #8033] Implement missing function evalc()
Date: Fri, 15 Jan 2016 01:00:19 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.5.0

Follow-up Comment #16, patch #8033 (project octave):

I have produced a revised patch. A big novelty is that the Feval function is
called internally, so I do not have to duplicate that code anymore.

However, I have problems with these failing unit tests:


>>>>> processing
/home/oliver/Dokumente/octave/libinterp/parse-tree/oct-parse.in
.yy-tst
***** assert (evalc ("warning ('foo')"), "warning: foon")
!!!!! test failed
ASSERT errors for:  assert (evalc ("warning ('foo')"),"warning: foon")

  Location  |  Observed  |  Expected  |  Reason
     []                   warning: foo
   Strings don't match
shared variables   scalar structure containing the fields:
    x =  1
***** assert (evalc ("error ('foo')", "warning ('bar')"), "warning: barn")
!!!!! test failed
ASSERT errors for:  assert (evalc ("error ('foo')", "warning
('bar')"),"warning: barn")

  Location  |  Observed  |  Expected  |  Reason
     []                   warning: bar
   Strings don't match
shared variables   scalar structure containing the fields:
    x =  1


Both assert statement work in the command window. Any ideas?

(file #36038)
    _______________________________________________________

Additional Item Attachment:

File name: evalc-revised.patch            Size:5 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8033>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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