summaryrefslogtreecommitdiff
path: root/render-test/manifest_parser.cpp
diff options
context:
space:
mode:
authorzmiao <miao.zhao@mapbox.com>2019-12-11 11:50:27 +0200
committerGitHub <noreply@github.com>2019-12-11 11:50:27 +0200
commitf848f07ad9be9805bb1ae6d30c307b603dc87b86 (patch)
tree31eaac183ab344eaf2bcca778cad7dd8ec312e87 /render-test/manifest_parser.cpp
parentc0fee57367cc2cecbc8eb0b97415815c67f85374 (diff)
downloadqtlocation-mapboxgl-f848f07ad9be9805bb1ae6d30c307b603dc87b86.tar.gz
[metrics] Run Android RenderTestRunner bot in rebaseline mode (#16036)
Diffstat (limited to 'render-test/manifest_parser.cpp')
-rw-r--r--render-test/manifest_parser.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/render-test/manifest_parser.cpp b/render-test/manifest_parser.cpp
index e3217f0f50..6658b3ee0d 100644
--- a/render-test/manifest_parser.cpp
+++ b/render-test/manifest_parser.cpp
@@ -465,9 +465,13 @@ mbgl::optional<Manifest> ManifestParser::parseManifest(const std::string& manife
auto testId = defaultExpectationPath.string();
testId = testId.substr(rootLength + 1, testId.length() - rootLength - 1);
+ std::vector<mbgl::filesystem::path> expectedMetricPaths{expectedMetricPath};
+#if defined(__ANDROID__)
+ expectedMetricPaths.emplace_back("/sdcard/");
+#endif
testPaths.emplace_back(testPath,
getTestExpectations(defaultExpectationPath, testId, expectationPaths),
- getTestExpectations(defaultExpectationPath, testId, {expectedMetricPath}));
+ getTestExpectations(defaultExpectationPath, testId, expectedMetricPaths));
}
}
}