octave-maintainers
[Top][All Lists]
Advanced

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

Re: Testing octave-4.0.1-rc4


From: Andreas Weber
Subject: Re: Testing octave-4.0.1-rc4
Date: Fri, 11 Mar 2016 16:34:55 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0

Hi Philip,

Am 11.03.2016 um 15:30 schrieb PhilipNienhuis:
> On Mageia-5 Linux I get only two FAILs for osmesa:
> 
> :
>>>>>> processing
>>>>>> /home/philip/devel/octdev/oct4.0.0-rc4/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
> ASSERT errors for:  assert (stat (fn).size,2692270,-0.1)
> 
>   Location  |  Observed  |  Expected  |  Reason
>      ()          2798       2692270      Rel err 0.99896 exceeds tol 0.1
> ***** 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
> ASSERT errors for:  assert (stat (fn).size,7438,-0.1)
> 
>   Location  |  Observed  |  Expected  |  Reason
>      ()          2120         7438       Rel err 0.71498 exceeds tol 0.1
> :

Can you run the test manually (without unlink which deletes the images)
in Octave and check the generated images? You should see the sombrero
and a simple sin plot.

Which version of libosmesa-dev is installed and do you use proprietary
GPU drivers which doesn't use mesa?

Thanks, Andy



reply via email to

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