summaryrefslogtreecommitdiff
path: root/next/platform
diff options
context:
space:
mode:
Diffstat (limited to 'next/platform')
-rw-r--r--next/platform/linux/linux.cmake6
-rw-r--r--next/platform/macos/macos.cmake4
2 files changed, 7 insertions, 3 deletions
diff --git a/next/platform/linux/linux.cmake b/next/platform/linux/linux.cmake
index 6a68a1f2d2..5bde30a61a 100644
--- a/next/platform/linux/linux.cmake
+++ b/next/platform/linux/linux.cmake
@@ -149,5 +149,9 @@ add_test(
WORKING_DIRECTORY ${MBGL_ROOT}
)
-add_test(NAME mbgl-render-test-probes COMMAND mbgl-render-test-runner tests --rootPath=render-test WORKING_DIRECTORY ${MBGL_ROOT})
+add_test(
+ NAME mbgl-render-test-probes
+ COMMAND mbgl-render-test-runner tests --rootPath=${MBGL_ROOT}/render-test
+ WORKING_DIRECTORY ${MBGL_ROOT}
+)
add_test(NAME mbgl-query-test COMMAND mbgl-render-test-runner query-tests WORKING_DIRECTORY ${MBGL_ROOT})
diff --git a/next/platform/macos/macos.cmake b/next/platform/macos/macos.cmake
index 71e53c474a..cfabcb1cfa 100644
--- a/next/platform/macos/macos.cmake
+++ b/next/platform/macos/macos.cmake
@@ -218,8 +218,8 @@ add_test(
COMMAND
mbgl-render-test-runner
tests
- --rootPath=render-test
- --expectationsPath=render-test/tests/mac
+ --rootPath=${MBGL_ROOT}/render-test
+ --expectationsPath=tests/mac
WORKING_DIRECTORY ${MBGL_ROOT}
)