summaryrefslogtreecommitdiff
path: root/next/platform
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-10-17 20:13:45 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-10-21 16:10:45 +0300
commitb03982730e6c02dcc166a609bf4b8fd17b3cf01d (patch)
treec900a916364eb8c7275112869b6afede725c2132 /next/platform
parenteb3c203d4ed65a91b818c42876bf2f23784aa9c5 (diff)
downloadqtlocation-mapboxgl-b03982730e6c02dcc166a609bf4b8fd17b3cf01d.tar.gz
[test runner] Command line option for the tests expectations path
-e[expectationsPath], --expectationsPath=[expectationsPath] Test expectations path.
Diffstat (limited to 'next/platform')
-rw-r--r--next/platform/linux/linux.cmake1
-rw-r--r--next/platform/macos/macos.cmake1
2 files changed, 2 insertions, 0 deletions
diff --git a/next/platform/linux/linux.cmake b/next/platform/linux/linux.cmake
index be905c204f..7b77e134ea 100644
--- a/next/platform/linux/linux.cmake
+++ b/next/platform/linux/linux.cmake
@@ -143,6 +143,7 @@ add_test(
render-tests
--recycle-map
--shuffle
+ --expectationsPath=render-test/expected/render-tests
--seed=${MBGL_RENDER_TEST_SEED}
WORKING_DIRECTORY ${MBGL_ROOT}
)
diff --git a/next/platform/macos/macos.cmake b/next/platform/macos/macos.cmake
index cbe386a1ac..69f41027c6 100644
--- a/next/platform/macos/macos.cmake
+++ b/next/platform/macos/macos.cmake
@@ -207,6 +207,7 @@ add_test(
render-tests
--recycle-map
--shuffle
+ --expectationsPath=render-test/expected/render-tests
--seed=${MBGL_RENDER_TEST_SEED}
WORKING_DIRECTORY ${MBGL_ROOT}
)