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

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

[Octave-bug-tracker] [bug #59334] [octave forge] (interval) Failing BIST


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #59334] [octave forge] (interval) Failing BISTs with Octave 6.0.92
Date: Mon, 21 Dec 2020 03:06:42 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Edg/87.0.664.66

Follow-up Comment #1, bug #59334 (project octave):

I re-ran `pkg test interval` with a recent build from the stable branch (hg id
370b5ded5e6a) on Windows 10.
The number of failing tests is now down to 34:

>> pkg test interval
...
Summary:

  PASS                             2356
  FAIL                               34


I'm attaching the log file from that run.

Most of these seem to fail with an error similar to this one:

nargin: invalid function name: @infsup\inf


It looks like the input argument of `nargin` might contain a forward slash.
But it doesn't work with back slashes:

>> pkg load interval
>> nargin('@infsup/inf')
ans =  1
>> nargin('@infsup\inf')
error: nargin: invalid function name: @infsup\inf


The error is the same in previous versions of Octave. So it doesn't look like
a regression.

This looks like it might be easy to fix. Please, see the attached changeset.


The last test that is failing after that change is this one:

>> test @infsup\display.m
***** test
 if (compare_versions (OCTAVE_VERSION, "4.2", ">="))
   assert (evalc ("display (infsup ())"), "[Empty]\n\n");
   assert (evalc ("display (infsupdec ())"), "[Empty]_trv\n\n");
 endif
!!!!! test failed
'argn' undefined near line 80, column 80


The automatic variable `argn` was removed in Octave 6. See e.g. bug #59342 for
possible alternatives.


(file #50536)
    _______________________________________________________

Additional Item Attachment:

File name: bug59334_subsref.patch         Size:1 KB
    <https://file.savannah.gnu.org/file/bug59334_subsref.patch?file_id=50536>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59334>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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