diff options
author | Aleksandar Stojiljkovic <aleksandar.stojiljkovic@mapbox.com> | 2019-08-06 16:59:25 +0300 |
---|---|---|
committer | Aleksandar Stojiljkovic <aleksandar.stojiljkovic@mapbox.com> | 2019-08-07 10:26:39 +0300 |
commit | b5d71fbca00d2aac00ff59165178b5bde91bd838 (patch) | |
tree | 0e194aa3a105104e59de637438adb8bc184a96b0 /render-test/runner.cpp | |
parent | acfcd5c29c15e91e3bf80b1503d63caef1487149 (diff) | |
download | qtlocation-mapboxgl-b5d71fbca00d2aac00ff59165178b5bde91bd838.tar.gz |
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.
Diffstat (limited to 'render-test/runner.cpp')
-rw-r--r-- | render-test/runner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render-test/runner.cpp b/render-test/runner.cpp index dd6aef3a54..5bd855c43a 100644 --- a/render-test/runner.cpp +++ b/render-test/runner.cpp @@ -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); |