Vulkan renderer backend (#2564)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
This commit is contained in:
@@ -127,7 +127,7 @@ ArgumentsTuple parseArguments(int argc, char** argv) {
|
||||
shuffle,
|
||||
online,
|
||||
seed,
|
||||
manifestPath.string(),
|
||||
manifestPath.generic_string(),
|
||||
updateResults,
|
||||
std::move(testFilter)};
|
||||
}
|
||||
@@ -194,7 +194,7 @@ int runRenderTests(int argc, char** argv, std::function<void()> testStatus) {
|
||||
bool shouldIgnore = false;
|
||||
std::string ignoreReason;
|
||||
|
||||
const std::string ignoreName = id;
|
||||
const mbgl::filesystem::path ignoreName(id);
|
||||
const auto it = std::find_if(
|
||||
ignores.cbegin(), ignores.cend(), [&ignoreName](auto pair) { return pair.first == ignoreName; });
|
||||
if (it != ignores.end()) {
|
||||
@@ -266,7 +266,7 @@ int runRenderTests(int argc, char** argv, std::function<void()> testStatus) {
|
||||
}
|
||||
}
|
||||
|
||||
const std::string manifestName = mbgl::filesystem::path(manifestPath).stem();
|
||||
const std::string manifestName = mbgl::filesystem::path(manifestPath).stem().generic_string();
|
||||
const std::string resultPath = manifest.getResultPath() + "/" + manifestName + ".html";
|
||||
std::string resultsHTML = createResultPage(stats, metadatas, shuffle, seed);
|
||||
mbgl::util::write_file(resultPath, resultsHTML);
|
||||
@@ -300,7 +300,7 @@ int runRenderTests(int argc, char** argv, std::function<void()> testStatus) {
|
||||
100.0 * stats.erroredTests / count);
|
||||
}
|
||||
|
||||
printf("Results at: %s\n", mbgl::filesystem::canonical(resultPath).c_str());
|
||||
printf("Results at: %s\n", mbgl::filesystem::canonical(resultPath).generic_string().c_str());
|
||||
|
||||
return returnCode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user