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

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

[Octave-bug-tracker] [bug #59038] test failure (regression) with legend.


From: Hartmut
Subject: [Octave-bug-tracker] [bug #59038] test failure (regression) with legend.m on Windows 10
Date: Sat, 29 Aug 2020 15:14:39 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0

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

I have now observed the same test failure on a second Win10 machine, with
totally different hardware and also a different Version of Win10. The precise
numbers a slightly different, so I present them here again:


>>>>> processing
C:\Octave\Octave-6.0.90\mingw64\share\octave\6.0.90\m\plot\appearance\legend.m
***** testif HAVE_FREETYPE <*40333>
 hf = figure ("visible", "off");
 unwind_protect
   axes ("units", "normalized");
   plot (1:10);
   hl = legend ("Legend Text", "units", "normalized");
   pos = get (gca, 'position');
   set (hf, 'position', [0, 0, 200, 200]);
   set (hl, 'fontsize', 20);
   assert (get (gca, 'position'), pos, 2*eps);
 unwind_protect_cleanup
   close (hf);
 end_unwind_protect
!!!!! regression: https://octave.org/testfailure/?40333
ASSERT errors for:  assert (get (gca, 'position'),pos,2 * eps)

  Location  |  Observed  |  Expected  |  Reason
    (1)         0.155         0.13       Abs err 0.025 exceeds tol 4.4409e-16
by 0.02
    (2)          0.15         0.11       Abs err 0.04 exceeds tol 4.4409e-16
by 0.04
    (3)          0.75        0.775       Abs err 0.025 exceeds tol 4.4409e-16
by 0.02
    (4)         0.775        0.815       Abs err 0.04 exceeds tol 4.4409e-16
by 0.04


The only common thing I can imagine is, that both times I have installed
Octave into a non-standard program path. Now it was "C:\Octave", and before it
was "D:\myname\Octave-installation".

Can other people reproduce this test failure?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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