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>
This commit is contained in:
Dirk Hohndel 2020-02-10 10:33:25 -08:00
parent 7d6949ce7d
commit 5601104ba5

View file

@ -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