And as a result:
test libinterp/dldfcn/__osmesa_print__.cc-tst
***** testif HAVE_OPENGL, HAVE_OSMESA, HAVE_GL2PS_H
if (isunix ())
hf = figure ("visible", "off");
fn = tempname ();
unwind_protect
sombrero ();
__osmesa_print__ (hf, fn, "svg");
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
img_fp = squeeze (sum (sum (img), 2));
assert (img_fp, [52942515; 54167797; 56158178], -0.05);
unwind_protect_cleanup
close (hf);
unlink (fn);
end_unwind_protect
endif
!!!!! test failed
ASSERT errors for: assert (stat (fn).size,2579392,-0.1)
Location | Observed | Expected | Reason
() 3331917 2579392 Rel err 0.29175 exceeds tol 0.1
Dmitri.
--