summaryrefslogtreecommitdiffstats
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-10 10:33:25 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-09 12:41:11 -0700
commit5601104ba52e61a09dac822f52090f83e591253e (patch)
treeee00ca913e40a8c67cb82b8c8d06fe956906ad4b /tests/CMakeLists.txt
parent7d6949ce7d9627e53770fdf82ec635f135e6fa96 (diff)
downloadsubsurface-5601104ba52e61a09dac822f52090f83e591253e.tar.gz
tests: don't build PlannerShared
Once we start using the commands on mobile, the dependencies for this test break. And since we have disabled the failed attempt to create a planner for mobile, there's no point running these tests right now. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 1872ea0b0..c2e10dc63 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -118,9 +118,9 @@ TEST(TestPicture testpicture.cpp)
TEST(TestMerge testmerge.cpp)
TEST(TestTagList testtaglist.cpp)
-if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable")
-TEST(TestPlannerShared testplannershared.cpp)
-endif()
+#if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable")
+#TEST(TestPlannerShared testplannershared.cpp)
+#endif()
TEST(TestQPrefCloudStorage testqPrefCloudStorage.cpp)
TEST(TestQPrefDisplay testqPrefDisplay.cpp)
@@ -140,9 +140,10 @@ 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_SHARED TestPlannerShared)
-endif()
+# this is currently broken
+#if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable")
+# set(TEST_PLANNER_SHARED TestPlannerShared)
+#endif()
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}
DEPENDS