mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
tests: activate TestPlannerShared
Use updated CMakeLists to activate TestPlannerShared but only for mobile builds !! This is due to the fact that commands are currently not available for mobile builds. Using the mobile library version of qt-mobile secured diveplannermodel.cpp is compiled without referencces to commands. Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
parent
f92daa16ef
commit
efc573cb32
1 changed files with 8 additions and 0 deletions
|
@ -116,6 +116,10 @@ TEST(TestPicture testpicture.cpp)
|
|||
TEST(TestMerge testmerge.cpp)
|
||||
TEST(TestTagList testtaglist.cpp)
|
||||
|
||||
if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable")
|
||||
TEST(TestPlannerShared testplannershared.cpp)
|
||||
endif()
|
||||
|
||||
TEST(TestQPrefCloudStorage testqPrefCloudStorage.cpp)
|
||||
TEST(TestQPrefDisplay testqPrefDisplay.cpp)
|
||||
TEST(TestQPrefDiveComputer testqPrefDiveComputer.cpp)
|
||||
|
@ -150,6 +154,10 @@ add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}
|
|||
TestMerge
|
||||
TestTagList
|
||||
|
||||
if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable")
|
||||
TestPlannerShared
|
||||
endif()
|
||||
|
||||
TestQPrefCloudStorage
|
||||
TestQPrefDisplay
|
||||
TestQPrefDiveComputer
|
||||
|
|
Loading…
Add table
Reference in a new issue