Change the unittest name and path 16/270716/1
authorInHong Han <inhong1.han@samsung.com>
Tue, 8 Feb 2022 04:39:37 +0000 (13:39 +0900)
committerInHong Han <inhong1.han@samsung.com>
Tue, 8 Feb 2022 04:39:37 +0000 (13:39 +0900)
Change-Id: Ia06d39b2fe631e21fde649cadf497daf7b73c961

CMakeLists.txt
packaging/capi-ui-inputmethod-manager.spec
tests/CMakeLists.txt

index 8e6cf7e..129b5e8 100644 (file)
@@ -138,7 +138,7 @@ ENDIF(UNIX)
 ## Test
 IF(NOT DEFINED MINIMUM_BUILD)
 ENABLE_TESTING()
-SET(UNITTEST_INPUTMETHOD_MANAGER inputmethod_manager_unittests)
+SET(UNITTEST_INPUTMETHOD_MANAGER capi-ui-inputmethod-manager_gtest)
 ADD_TEST(NAME ${UNITTEST_INPUTMETHOD_MANAGER} COMMAND ${UNITTEST_INPUTMETHOD_MANAGER}
                         WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests)
 
index 88a619a..9aa66e3 100644 (file)
@@ -114,4 +114,4 @@ install -m 0644 %{name}.zip %{buildroot}%{_datadir}/gcov/
 %endif
 
 %files unittests
-%{_bindir}/*
+%{_libdir}/%{name}/unittest/*
index eb87d65..08927d2 100644 (file)
@@ -1,5 +1,5 @@
 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-PROJECT(gtest-inputmethod-manager CXX)
+PROJECT(inputmethod-manager_gtest CXX)
 
 # Find Packages
 INCLUDE(FindPkgConfig)
@@ -49,4 +49,4 @@ SET_TARGET_PROPERTIES(${UNITTEST_INPUTMETHOD_MANAGER} PROPERTIES
 --wrap=isf_control_get_all_ime_info,\
 --wrap=isf_control_get_active_ime,\
 --wrap=isf_control_prelaunch_ise")
-INSTALL(TARGETS ${UNITTEST_INPUTMETHOD_MANAGER} DESTINATION /usr/bin)
+INSTALL(TARGETS ${UNITTEST_INPUTMETHOD_MANAGER} DESTINATION ${LIBDIR}/capi-ui-inputmethod-manager/unittest)