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

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

[Octave-bug-tracker] [bug #46675] failing test __osmesa_print__.cc-tst


From: Hartmut
Subject: [Octave-bug-tracker] [bug #46675] failing test __osmesa_print__.cc-tst
Date: Sun, 13 Dec 2015 11:56:04 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

Follow-up Comment #6, bug #46675 (project octave):

You were right with your suspicion, Mike: When I compile the Octave 4.0.0
release tarball TODAY (very same laptop, same commands to compile, new folder
for all files), then I also get two failing tests:

PASS 12878
FAIL     2
XFAIL   14
SKIPPED 62

And the origin of the two failing tests is also __osmesa_print__.cc-tst :

>>>>> processing
/opt/octave-4.0.0_v2/libinterp/dldfcn/__osmesa_print__.cc-tst
***** testif HAVE_OSMESA, HAVE_GL2PS_H
 if (isunix ())
   h = figure ("visible", "off");
   fn = tempname ();
   sombrero ();
   __osmesa_print__ (h, fn, "svg");
   assert (stat (fn).size, 2692270, -0.1);
   unlink (fn);
   img = __osmesa_print__ (h);
   assert (size (img), [get(h, "position")([4, 3]), 3])
   ## Use pixel sum per RGB channel as fingerprint
   img_fp = squeeze (sum (sum (img), 2));
   assert (img_fp, [52942515; 54167797; 56158178], -0.05);
 endif
!!!!! test failed
__osmesa_print__: Depth and stencil doesn't match, are you sure you are using
OSMesa >= 9.0?
***** testif HAVE_OSMESA, HAVE_GL2PS_H
 if (isunix ())
   h = figure ("visible", "off");
   fn = tempname ();
   plot (sin (0:0.1:2*pi));
   __osmesa_print__ (h, fn, "svgis2d");
   assert (stat (fn).size, 7438, -0.1);
   unlink (fn);
   img = __osmesa_print__ (h);
   assert (size (img), [get(h, "position")([4, 3]), 3])
   ## Use pixel sum per RGB channel as fingerprint
   img_fp = squeeze (sum (sum (img), 2));
   assert (img_fp, [59281711; 59281711; 59482179], -0.05);
 endif
!!!!! test failed
__osmesa_print__: Depth and stencil doesn't match, are you sure you are using
OSMesa >= 9.0?


So it seems to me that something (unintentionally) changed on my Ubuntu 14.04
system that now makes those osmesa tests fail. 

The sucessful compilation of Octave 4.0.0 on my laptop was on June 9, 2015.

Can I provide any other useful information about my system, to help resolve
this issue? 

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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