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.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/render-test/runner.cpp b/render-test/runner.cpp
index 4c0967a9e9..d2dd65bb83 100644
--- a/render-test/runner.cpp
+++ b/render-test/runner.cpp
@@ -966,7 +966,11 @@ TestRunner::Impl::Impl(const TestMetadata& metadata)
.withSize(metadata.size)
.withPixelRatio(metadata.pixelRatio)
.withCrossSourceCollisions(metadata.crossSourceCollisions),
- mbgl::ResourceOptions().withCacheOnlyRequestsSupport(false)) {}
+ mbgl::ResourceOptions().withCacheOnlyRequestsSupport(false)) {
+#ifndef NDEBUG
+ map.setDebug(MapDebugOptions::NoDebug);
+#endif
+}
TestRunner::Impl::~Impl() {}