# HG changeset patch # User Rik # Date 1428509330 25200 # Node ID f1b67f6e6e452664b2916645a13545e8ece9713e # Parent 0f1a722133f4c528ff90042e7d8409b65e100252 __osmesa_print__.cc: Increase non-critical relative tolerance in BIST test. * __osmesa_print__.cc: Increase tolerance on generated size of output file. This could differ quite a bit due to different MESA versions, etc. diff -r 0f1a722133f4 -r f1b67f6e6e45 libinterp/dldfcn/__osmesa_print__.cc --- a/libinterp/dldfcn/__osmesa_print__.cc Wed Apr 08 08:34:25 2015 -0700 +++ b/libinterp/dldfcn/__osmesa_print__.cc Wed Apr 08 09:08:50 2015 -0700 @@ -282,7 +282,7 @@ %! fn = tempname (); %! plot (sin (0:0.1:2*pi)); %! __osmesa_print__ (h, fn, "svgis2d"); -%! assert (stat (fn).size, 7438, -0.05); +%! assert (stat (fn).size, 7438, -0.1); %! unlink (fn); %! img = __osmesa_print__ (h); %! assert (size (img), [get(h, "position")([4, 3]), 3])