summaryrefslogtreecommitdiff
path: root/cmake/test-files.cmake
diff options
context:
space:
mode:
authorAnand Thakker <anandthakker@users.noreply.github.com>2017-06-09 06:28:14 -0400
committerGitHub <noreply@github.com>2017-06-09 06:28:14 -0400
commitf59eb822e12b54f74e688a138dc8f4ede1feade8 (patch)
tree7d0d9039e96fd7ffef8ff89c85c7dcf639737da2 /cmake/test-files.cmake
parent66c2a2a0b7c42e1947f57a412ece66fa8eaac149 (diff)
downloadqtlocation-mapboxgl-f59eb822e12b54f74e688a138dc8f4ede1feade8.tar.gz
Fix undefined memory access in getCoveringRanges() (#9227)
* Add simple unit tests for SymbolSizeBinder * Fix bug in symbol size uniform value calculation For camera functions we were setting the zoom levels in "covering ranges" to `[(zoom stop <= tile zoom), (zoom stop >= 1 + tile zoom)]`, but then evaluating the function at `[tile_zoom, tile_zoom + 1]`. * Check for it != end() before accessing it->first
Diffstat (limited to 'cmake/test-files.cmake')
-rw-r--r--cmake/test-files.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/test-files.cmake b/cmake/test-files.cmake
index c0673bedef..093fc56dbd 100644
--- a/cmake/test-files.cmake
+++ b/cmake/test-files.cmake
@@ -40,6 +40,7 @@ set(MBGL_TEST_FILES
# programs
test/programs/binary_program.test.cpp
+ test/programs/symbol_program.test.cpp
# renderer
test/renderer/group_by_layout.test.cpp