summaryrefslogtreecommitdiff
path: root/render-test/runner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'render-test/runner.cpp')
-rw-r--r--render-test/runner.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/render-test/runner.cpp b/render-test/runner.cpp
index 8a4b0b3b0e..de89da6696 100644
--- a/render-test/runner.cpp
+++ b/render-test/runner.cpp
@@ -1035,6 +1035,8 @@ bool TestRunner::runOperations(const std::string& key, TestMetadata& metadata, R
map.flyTo(mbgl::CameraOptions().withCenter(endPos).withZoom(endZoom), animationOptions);
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wfor-loop-analysis"
for (; !transitionFinished; frames++) {
frontend.renderOnce(map);
float frameTime = (float)frontend.getFrameTime();
@@ -1042,7 +1044,7 @@ bool TestRunner::runOperations(const std::string& key, TestMetadata& metadata, R
samples.push_back(frameTime);
}
-
+#pragma clang diagnostic pop
float averageFps = totalTime > 0.0 ? frames / totalTime : 0.0;
float minFrameTime = 0.0;