summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 1ae98574f..67ee08193 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -138,6 +138,9 @@ TEST(TestQPrefUnits testqPrefUnits.cpp)
TEST(TestQPrefUpdateManager testqPrefUpdateManager.cpp)
add_test(NAME TestQML COMMAND $<TARGET_FILE:TestQML> -input ${SUBSURFACE_SOURCE}/tests)
+if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable")
+ set(TEST_PLANNER_SHARDE TestPlannerShared)
+endif()
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}
DEPENDS
@@ -153,11 +156,7 @@ add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}
TestPicture
TestMerge
TestTagList
-
-if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable")
- TestPlannerShared
-endif()
-
+ ${TEST_PLANNER_SHARED}
TestQPrefCloudStorage
TestQPrefDisplay
TestQPrefDiveComputer