summaryrefslogtreecommitdiff
path: root/next
diff options
context:
space:
mode:
authorJuha Alanen <juha.alanen@mapbox.com>2019-10-07 12:44:16 +0300
committerJuha Alanen <19551460+jmalanen@users.noreply.github.com>2019-10-08 15:33:30 +0300
commit4eaaa9046ed4f2c45a9febdb8f2f15a8f63f73d4 (patch)
treef5b928a3eb934ea44c2183ad6514242e03334b88 /next
parent9be5ccb2104a7f41dc8b1f7c7d754c6aa5d3fd53 (diff)
downloadqtlocation-mapboxgl-4eaaa9046ed4f2c45a9febdb8f2f15a8f63f73d4.tar.gz
[tests] Share common code between test runners
Diffstat (limited to 'next')
-rw-r--r--next/expression-test/CMakeLists.txt2
-rw-r--r--next/render-test/CMakeLists.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/next/expression-test/CMakeLists.txt b/next/expression-test/CMakeLists.txt
index 1713f0b655..f7d694b054 100644
--- a/next/expression-test/CMakeLists.txt
+++ b/next/expression-test/CMakeLists.txt
@@ -6,6 +6,8 @@ add_executable(
${MBGL_ROOT}/expression-test/expression_test_parser.hpp
${MBGL_ROOT}/expression-test/expression_test_runner.cpp
${MBGL_ROOT}/expression-test/expression_test_runner.hpp
+ ${MBGL_ROOT}/expression-test/test_runner_common.cpp
+ ${MBGL_ROOT}/expression-test/test_runner_common.hpp
${MBGL_ROOT}/expression-test/main.cpp
)
diff --git a/next/render-test/CMakeLists.txt b/next/render-test/CMakeLists.txt
index 6edd11ca95..5aadd0f859 100644
--- a/next/render-test/CMakeLists.txt
+++ b/next/render-test/CMakeLists.txt
@@ -9,6 +9,8 @@ add_executable(
${MBGL_ROOT}/render-test/parser.hpp
${MBGL_ROOT}/render-test/runner.cpp
${MBGL_ROOT}/render-test/runner.hpp
+ ${MBGL_ROOT}/expression-test/test_runner_common.cpp
+ ${MBGL_ROOT}/expression-test/test_runner_common.hpp
)
target_compile_definitions(