Fix issue no executable is included in unittest package 19/255919/5
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 25 Mar 2021 04:47:21 +0000 (13:47 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 25 Mar 2021 10:38:48 +0000 (19:38 +0900)
Change-Id: I165bccf668b16f8e644f0f2892ef72413fd121e5
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
CMakeLists.txt
packaging/capi-ui-sticker.spec

index 916ce15..7da1298 100755 (executable)
@@ -55,11 +55,11 @@ ENDIF()
 ## Test
 IF("${TEST_ENABLE}" STREQUAL "true")
 ENABLE_TESTING()
+ENDIF()
 SET(UTC_STICKER sticker_unittests)
 ADD_TEST(NAME ${UTC_STICKER} COMMAND ${UTC_STICKER}
                         WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests)
 ADD_SUBDIRECTORY(tests)
-ENDIF()
 
 ## config ##
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/capi-ui-sticker.info DESTINATION ${TZ_SYS_RO_SHARE}/parser-plugins)
index 2210fec..6855dba 100644 (file)
@@ -213,7 +213,8 @@ chsmack -a "User::App::Shared" /opt/usr/share/sticker-data
 %endif
 
 %files unittests
-%{_bindir}/*
+%license LICENSE
+%{_bindir}/sticker_unittests
 
 %if 0%{?gcov:1}
 %files gcov