Fixed and enabled iOS render tests (#937)

This commit is contained in:
Alex Cristici
2023-03-24 19:34:00 +02:00
committed by GitHub
parent 7ff17fd634
commit 6c4918374a
5 changed files with 6 additions and 7 deletions

View File

@@ -20,16 +20,13 @@ bool TestRunner::startTest(const std::string& manifestBasePath) {
int finishedTestCount = 0;
std::function<void()> testStatus = [&]() {
mbgl::Log::Info(mbgl::Event::General, "Current finished tests number is '%d' ", ++finishedTestCount);
mbgl::Log::Info(mbgl::Event::General, "Current finished tests number is '" + std::to_string(++finishedTestCount) + "' ");
};
mbgl::Log::Info(mbgl::Event::General, "Start running RenderTestRunner with manifest: '%s'", manifest.c_str());
mbgl::Log::Info(mbgl::Event::General, "Start running RenderTestRunner with manifest: '" + manifest + "' ");
auto result = mbgl::runRenderTests(static_cast<int>(argv.size() - 1), argv.data(), testStatus);
mbgl::Log::Info(mbgl::Event::General,
"End running RenderTestRunner with manifest: '%s' with result value %d",
manifest.c_str(),
result);
mbgl::Log::Info(mbgl::Event::General, "End running RenderTestRunner with manifest: '" + manifest + "' with result value " + std::to_string(result));
return result == 0;
};