summaryrefslogtreecommitdiff
path: root/next/platform/linux/linux.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'next/platform/linux/linux.cmake')
-rw-r--r--next/platform/linux/linux.cmake26
1 files changed, 21 insertions, 5 deletions
diff --git a/next/platform/linux/linux.cmake b/next/platform/linux/linux.cmake
index 52aba6ea95..39777c93f6 100644
--- a/next/platform/linux/linux.cmake
+++ b/next/platform/linux/linux.cmake
@@ -135,8 +135,24 @@ add_test(
--seed=${MBGL_RENDER_TEST_SEED}
)
-add_test(
- NAME mbgl-render-test-probes
- COMMAND mbgl-render-test-runner tests --manifestPath=${MBGL_ROOT}/render-test/linux-probe-manifest.json
-)
-add_test(NAME mbgl-query-test COMMAND mbgl-render-test-runner query-tests --manifestPath=${MBGL_ROOT}/render-test/linux-manifest.json)
+if(CMAKE_C_COMPILER MATCHES clang OR CMAKE_BUILD_TYPE MATCHES Debug)
+ add_test(
+ NAME mbgl-render-test-probe-unit-tests
+ COMMAND mbgl-render-test-runner tests --manifestPath=${MBGL_ROOT}/render-test/linux-probe-manifest.json
+ )
+else()
+ add_test(
+ NAME mbgl-render-test-probe-gfx-network
+ COMMAND mbgl-render-test-runner render-tests --manifestPath=${MBGL_ROOT}/render-test/linux-manifest-probe-gfx-network.json
+ )
+ add_test(
+ NAME mbgl-render-test-probe-memory
+ COMMAND
+ mbgl-render-test-runner
+ render-tests
+ --manifestPath=${MBGL_ROOT}/render-test/linux-manifest-probe-memory.json
+ --filter=real-world
+ )
+endif()
+
+add_test(NAME mbgl-query-test COMMAND mbgl-render-test-runner query-tests --manifestPath=${MBGL_ROOT}/render-test/linux-query-manifest.json)