Mon 22 May 2017 03:31:33 AM UTC, comment #3:
With gl2ps-1.4.0 is out the size of the files increased quite dramatically. For AMD / gallium graphics I get
Fedora 26 will have gl2ps-1.4.0 and is scheduled to be released in about a month. So I expect that there will be linux distributions with gl2ps versions from 1.3.8
(Redhat 7, Ubuntu trusty, other LTS distros?) to 1.4.0 for a at least a year ahead.
So we should either increase tol to like 50% (or at least 33%),
or make it xfail.
Dmitri.
--
|
Thu 15 Sep 2016 06:35:37 PM UTC, comment #2:
On my development system using a self-compiled gl2ps-1.3.9 the size is 2514240. Clearly, the size is only a rough check and we should probably just acknowledge that this is not very precise. With the 5 samples in this report I see results of
If I take the average of the min and max values I get a new expected value of 2579392. Now the two endpoints are 6.2% away from this value so we can keep the 10% relative tolerance.
I made that change here (http://hg.savannah.gnu.org/hgweb/octave/rev/dbe0ec8d53b5). Marking the bug as Ready for Test.
|
Fri 09 Sep 2016 04:16:50 AM UTC, original submission:
test _osmesa_print_.cc-tst is failing on all Fedora 24 or 25
computers i tried. This is on AMD
test _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, 2692270, -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,2692270,-0.1)
Location | Observed | Expected | Reason
() 2420056 2692270 Rel err 0.10111 exceeds tol 0.1
(I attached the resulting svg file).
rpm -qi gl2ps
Name : gl2ps
Version : 1.3.9
Release : 2.fc24
Architecture: x86_64
Install Date: Wed 11 May 2016 08:21:55 PM CDT
Group : System Environment/Libraries
Size : 117122
License : LGPLv2+ or GL2PS
Signature : RSA/SHA256, Sat 06 Feb 2016 01:32:26 PM CST, Key ID 73bde98381b46521
Source RPM : gl2ps-1.3.9-2.fc24.src.rpm
Build Date : Wed 03 Feb 2016 06:34:13 PM CST
Build Host : buildvm-24.phx2.fedoraproject.org
Dmitri.
|