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

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

[Octave-bug-tracker] [bug #44979] check for osmesa is done at runtime an


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #44979] check for osmesa is done at runtime and not configure
Date: Fri, 01 May 2015 12:40:32 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.6.0

URL:
  <http://savannah.gnu.org/bugs/?44979>

                 Summary: check for osmesa is done at runtime and not
configure
                 Project: GNU Octave
            Submitted by: carandraug
            Submitted on: Fri 01 May 2015 12:40:30 GMT
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0-rc4
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Testing octave 4.0.0-rc4 on CentOS 5.11. Tests for osmesa_print fail correctly
because of old version being used.


octave> test "libinterp/dldfcn/__osmesa_print__.cc"
***** 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?


Indeed Octave was built with version OSMesa 6.5.1 but if we know this,
shouldn't this test be done by configure instead?




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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