changeset 22499:dbe0ec8d53b5

Adjust expected value for __osmesa_print__ BIST test (bug #49034). * __osmesa_print__.cc: Adjust expected size of created svg file to reflect the average value seen on 5 different configurations.
author Rik <rik@octave.org>
date Thu, 15 Sep 2016 11:34:20 -0700
parents 4d9c371d2cca
children 1d3b71530539
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	Thu Sep 15 11:12:02 2016 -0700
+++ b/libinterp/dldfcn/__osmesa_print__.cc	Thu Sep 15 11:34:20 2016 -0700
@@ -216,7 +216,7 @@
 %!   unwind_protect
 %!     sombrero ();
 %!     __osmesa_print__ (hf, fn, "svg");
-%!     assert (stat (fn).size, 2692270, -0.1);
+%!     assert (stat (fn).size, 2579392, -0.1);
 %!     img = __osmesa_print__ (hf);
 %!     assert (size (img), [get(hf, "position")([4, 3]), 3]);
 %!     ## Use pixel sum per RGB channel as fingerprint