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

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

[Octave-bug-tracker] [bug #57288] "test legend" fails for graphics toolk


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #57288] "test legend" fails for graphics toolkit gnuplot
Date: Thu, 21 Nov 2019 13:37:38 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0

URL:
  <https://savannah.gnu.org/bugs/?57288>

                 Summary: "test legend" fails for graphics toolkit gnuplot
                 Project: GNU Octave
            Submitted by: mmuetzel
            Submitted on: Thu 21 Nov 2019 07:37:36 PM CET
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

Running "test legend" with the graphics toolkit gnuplot fais with the
following error:

>> graphics_toolkit gnuplot
>> test legend
***** test
 hf = figure ("visible", "off");
 unwind_protect
   axes ();
   hplot = plot (rand (3));
   try
     legend (hplot, struct);
   catch
     [~, id] = lasterr ();
     assert (id, "Octave:invalid-fun-call");
   end_try_catch
 unwind_protect_cleanup
   close (hf);
 end_unwind_protect
!!!!! test failed
ASSERT errors for:  assert (id,"Octave:invalid-fun-call")

  Location  |  Observed  |  Expected  |  Reason
     []                   Octave:invalid-fun-call   Strings don't match


There also seem to be a few other cases where the error id has changed with
respect to the legacy legend function that is used for gnuplot.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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