[test-runner] Enable rebaseline for next-ios-render-test-runner (#16147)

This commit is contained in:
zmiao
2020-01-28 21:48:22 +02:00
committed by GitHub
parent 0de6ffc383
commit d7c8104dec
10 changed files with 148 additions and 4 deletions

View File

@@ -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),