[Pkg-owncloud-commits] [owncloud-client] 20/470: Don't install tests and cmocka lib.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Thu May 12 16:24:39 UTC 2016
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit aa8b772bff090f7c8b8afdf0dead108901ee0f78
Author: Hefee <hefee at netzguerilla.net>
Date: Fri Feb 5 14:14:07 2016 +0100
Don't install tests and cmocka lib.
Neither tests nor the libcmocka needs to be installed globally.
---
cmake/modules/AddCMockaTest.cmake | 11 -----------
csync/tests/CMakeLists.txt | 4 ----
2 files changed, 15 deletions(-)
diff --git a/cmake/modules/AddCMockaTest.cmake b/cmake/modules/AddCMockaTest.cmake
index 1b78865..b2d1ca8 100644
--- a/cmake/modules/AddCMockaTest.cmake
+++ b/cmake/modules/AddCMockaTest.cmake
@@ -20,15 +20,4 @@ function (ADD_CMOCKA_TEST _testName _testSource)
add_executable(${_testName} ${_testSource})
target_link_libraries(${_testName} ${ARGN})
add_test(${_testName} ${CMAKE_CURRENT_BINARY_DIR}/${_testName})
-
- if(UNIT_TESTING)
- INSTALL(
- TARGETS
- ${_testName}
- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
- )
- endif(UNIT_TESTING)
-
endfunction (ADD_CMOCKA_TEST)
diff --git a/csync/tests/CMakeLists.txt b/csync/tests/CMakeLists.txt
index 33eeee1..fcfe80a 100644
--- a/csync/tests/CMakeLists.txt
+++ b/csync/tests/CMakeLists.txt
@@ -53,7 +53,3 @@ add_cmocka_test(check_csync_update csync_tests/check_csync_update.c ${TEST_TARGE
# encoding
add_cmocka_test(check_encoding_functions encoding_tests/check_encoding.c ${TEST_TARGET_LIBRARIES})
-if(UNIT_TESTING)
- INSTALL( FILES "${CMOCKA_LIBRARIES}" DESTINATION ${CMAKE_INSTALL_LIBDIR})
-endif(UNIT_TESTING)
-
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list