changeset 20083:f1b67f6e6e45

__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.
author Rik <rik@octave.org>
date Wed, 08 Apr 2015 09:08:50 -0700
parents 0f1a722133f4
children 3a8e9e991d5e
files libinterp/dldfcn/__osmesa_print__.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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])