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

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

[Octave-bug-tracker] [bug #58686] Interpreter silently ignores inputs


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #58686] Interpreter silently ignores inputs
Date: Fri, 3 Jul 2020 12:35:57 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 Edg/83.0.478.58

Update of bug #58686 (project octave):

                  Status:                   Fixed => In Progress            
             Open/Closed:                  Closed => Open                   

    _______________________________________________________

Follow-up Comment #8:

This change probably broke some tests on the no-extras buildbots.
The first one is:

>>>>> processing
/scratch/buildbot/workers/jwe-debian-x86_64-2/stable-no-extras-debian/src/test/publish/publish.tst
***** test
 visibility = get (0, "defaultfigurevisible");
 toolkit = graphics_toolkit ();
 unwind_protect
   if (! __have_feature__ ("QT_OFFSCREEN")
       || ! strcmp (graphics_toolkit (), "qt"))
     try
       graphics_toolkit ("gnuplot");
     catch
       ## The system doesn't support gnuplot for drawing hidden
       ## figures.  Just return and have test marked as passing.
       return;
     end_try_catch
   endif
   set (0, "defaultfigurevisible", "off");
   scripts = dir ("test_script*.m");
   tmpDir = tempname ();
   mkdir (tmpDir);
   opts.outputDir = tmpDir;
   for fname = {scripts.name}
     publish (fname{1}, opts);
   endfor
   confirm_recursive_rmdir (false, "local");
   rmdir (tmpDir, "s");
 unwind_protect_cleanup
   set (0, "defaultfigurevisible", visibility);
   graphics_toolkit (toolkit);
 end_unwind_protect
!!!!! test failed
Element 1 in argument list is not defined


Easier steps to reproduce the same error are:

a = struct ("b", {});
{a.b}


The same works in Matlab R2020a without error:

>> a = struct('b', {})
a = 
  0×0 empty struct array with fields:
    b
>> {a.b}
ans =
  0×0 empty cell array



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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