summaryrefslogtreecommitdiff
path: root/render-test/manifest_parser.cpp
diff options
context:
space:
mode:
authorzmiao <miao.zhao@mapbox.com>2020-01-28 21:48:22 +0200
committerGitHub <noreply@github.com>2020-01-28 21:48:22 +0200
commitd7c8104decbbea8203bd79a95c0647bc4e1a2196 (patch)
tree75f03f9b0e1c01d01a502639cd5e59a00790fd1f /render-test/manifest_parser.cpp
parent0de6ffc383022e3ebfb658a729a0c9d7d7b026c4 (diff)
downloadqtlocation-mapboxgl-d7c8104decbbea8203bd79a95c0647bc4e1a2196.tar.gz
[test-runner] Enable rebaseline for next-ios-render-test-runner (#16147)
Diffstat (limited to 'render-test/manifest_parser.cpp')
-rw-r--r--render-test/manifest_parser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/render-test/manifest_parser.cpp b/render-test/manifest_parser.cpp
index 4d2952c761..2e1b34df91 100644
--- a/render-test/manifest_parser.cpp
+++ b/render-test/manifest_parser.cpp
@@ -280,6 +280,8 @@ mbgl::optional<Manifest> ManifestParser::parseManifest(const std::string& manife
std::vector<mbgl::filesystem::path> expectedMetricPaths{expectedMetricPath};
#if defined(__ANDROID__)
expectedMetricPaths.emplace_back("/sdcard/baselines/");
+#elif defined(__APPLE__)
+ expectedMetricPaths.emplace_back(manifest.manifestPath + "/baselines/");
#endif
testPaths.emplace_back(testPath,
getTestExpectations(defaultExpectationPath, testId, expectationPaths),