mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
build-system: fix tests in mobile builds
We can no longer build TestPictures in mobile builds. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9909cbd273
commit
695950b15a
1 changed files with 4 additions and 1 deletions
|
@ -116,7 +116,10 @@ TEST(TestRenumber testrenumber.cpp)
|
||||||
# this keeps randomly failing and I don't understand why
|
# this keeps randomly failing and I don't understand why
|
||||||
# too many false positives, so disabling this test for now
|
# too many false positives, so disabling this test for now
|
||||||
TEST(TestGitStorage testgitstorage.cpp storageconfig)
|
TEST(TestGitStorage testgitstorage.cpp storageconfig)
|
||||||
|
if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "DesktopExecutable")
|
||||||
TEST(TestPicture testpicture.cpp)
|
TEST(TestPicture testpicture.cpp)
|
||||||
|
set(TEST_PICTURE TestPicture)
|
||||||
|
endif()
|
||||||
TEST(TestMerge testmerge.cpp)
|
TEST(TestMerge testmerge.cpp)
|
||||||
TEST(TestTagList testtaglist.cpp)
|
TEST(TestTagList testtaglist.cpp)
|
||||||
|
|
||||||
|
@ -157,7 +160,7 @@ add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}
|
||||||
TestAirPressure
|
TestAirPressure
|
||||||
TestDiveSiteDuplication
|
TestDiveSiteDuplication
|
||||||
TestRenumber
|
TestRenumber
|
||||||
TestPicture
|
${TEST_PICTURE}
|
||||||
TestMerge
|
TestMerge
|
||||||
TestTagList
|
TestTagList
|
||||||
${TEST_PLANNER_SHARED}
|
${TEST_PLANNER_SHARED}
|
||||||
|
|
Loading…
Reference in a new issue