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

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

[Octave-bug-tracker] [bug #41312] latest Jit patch causes test jit failu


From: Stefan Mahr
Subject: [Octave-bug-tracker] [bug #41312] latest Jit patch causes test jit failures
Date: Thu, 23 Jan 2014 15:30:51 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/31.0.1650.63 Chrome/31.0.1650.63 Safari/537.36

Follow-up Comment #15, bug #41312 (project octave):

The test script works slightly different. The tests are interpreted as blocks,
every line has to start with %!. Empty lines break this block.

You can prove yourself by creating a file foo.tst

%!test

%!function a = foo (b)
%!  a= 2*b;

%! c = foo (1);
%! assert (c, 2);



Well, actually I think the failing tests are regressions, but introduced long
time ago. Since the old tests doesn't catch these errors, nobody ever noticed
this.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41312>

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




reply via email to

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