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

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

[Octave-bug-tracker] [bug #53513] graphics.cc-tst FAIL


From: Hartmut
Subject: [Octave-bug-tracker] [bug #53513] graphics.cc-tst FAIL
Date: Fri, 27 Apr 2018 16:50:23 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

Follow-up Comment #25, bug #53513 (project octave):

I have now seen this under (Ubuntu) linux. Not sure if it is the same issue,
because the test failure is now for "tightinset" and not for "uicontextmenu"
any more. The fail happend with "make test", but I could NOT reproduce it from
within Octave via a loop on "test graphics.cc-tst".


>>>>> processing /opt/octave-4.3.92/libinterp/corefcn/graphics.cc-tst
***** testif HAVE_OPENGL, HAVE_FLTK; have_window_system
 hf = figure ("visible", "off");
 graphics_toolkit (hf, "fltk");
 fpos = get (hf, "position");
 unwind_protect
   plot (rand (3));
   position = get (gca, "position");
   outerposition = get (gca, "outerposition");
   looseinset = get (gca, "looseinset");
   tightinset = get (gca, "tightinset");
   set (hf, "position", [fpos(1:2), 2*fpos(3:4)]);
   set (hf, "position", fpos);
   assert (get (gca, "outerposition"), outerposition, 0.001);
   assert (get (gca, "position"), position, 0.001);
   assert (get (gca, "looseinset"), looseinset, 0.001);
   assert (get (gca, "tightinset"), tightinset, 0.001);
 unwind_protect_cleanup
   close (hf);
 end_unwind_protect
!!!!! test failed
ASSERT errors for:  assert (get (gca, "tightinset"),tightinset,0.001)

  Location  |  Observed  |  Expected  |  Reason
    (1)        0.053571     0.042857     Abs err 0.010714 exceeds tol 0.001 by
0.01


Sorry, I haven't tested the patch from comment #24 so far.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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