mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-07 19:53:23 +00:00
tests: fix cmake syntax confusion
You cannot have a conditional in the middle of a list. I should have caught this in review. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e80c27a2bd
commit
cb3561ae85
1 changed files with 4 additions and 5 deletions
|
@ -138,6 +138,9 @@ TEST(TestQPrefUnits testqPrefUnits.cpp)
|
||||||
TEST(TestQPrefUpdateManager testqPrefUpdateManager.cpp)
|
TEST(TestQPrefUpdateManager testqPrefUpdateManager.cpp)
|
||||||
add_test(NAME TestQML COMMAND $<TARGET_FILE:TestQML> -input ${SUBSURFACE_SOURCE}/tests)
|
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}
|
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}
|
||||||
DEPENDS
|
DEPENDS
|
||||||
|
@ -153,11 +156,7 @@ add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}
|
||||||
TestPicture
|
TestPicture
|
||||||
TestMerge
|
TestMerge
|
||||||
TestTagList
|
TestTagList
|
||||||
|
${TEST_PLANNER_SHARED}
|
||||||
if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable")
|
|
||||||
TestPlannerShared
|
|
||||||
endif()
|
|
||||||
|
|
||||||
TestQPrefCloudStorage
|
TestQPrefCloudStorage
|
||||||
TestQPrefDisplay
|
TestQPrefDisplay
|
||||||
TestQPrefDiveComputer
|
TestQPrefDiveComputer
|
||||||
|
|
Loading…
Add table
Reference in a new issue