mbgl-render-test runner - use the same tolerance as with node render test

Two render tests failing only with mbgl-render-tests are added to platform
specific ignores. This is to be extended with fill-extrusion-pattern failing only on mac.
This commit is contained in:
Aleksandar Stojiljkovic
2019-08-06 16:59:25 +03:00
parent acfcd5c29c
commit b5d71fbca0
4 changed files with 26 additions and 4 deletions

View File

@@ -62,7 +62,7 @@ bool TestRunner::checkImage(mbgl::PremultipliedImage&& actual, TestMetadata& met
pixels = // implicitly converting from uint64_t
mapbox::pixelmatch(actual.data.get(), expected.data.get(), expected.size.width,
expected.size.height, diff.data.get(), 0.16); // GL JS uses 0.1285
expected.size.height, diff.data.get(), 0.1285); // Defined in GL JS
metadata.diff = mbgl::encodePNG(diff);