From: Hyihong Chae Date: Tue, 11 Jul 2017 07:13:31 +0000 (+0900) Subject: added unit test console app to devel package for Building Block. X-Git-Tag: submit/tizen/20170711.071902^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eceebc3ba6582b206d098aa91261a30f147d5cff;p=platform%2Fcore%2Fapi%2Fsmartcard.git added unit test console app to devel package for Building Block. Change-Id: Ice3170ffe9860009b7c27727f2735496c41eb870 Signed-off-by: HyiHong Chae --- diff --git a/packaging/capi-network-smartcard.spec b/packaging/capi-network-smartcard.spec index 0dc809e..677bc1b 100755 --- a/packaging/capi-network-smartcard.spec +++ b/packaging/capi-network-smartcard.spec @@ -1,6 +1,6 @@ Name: capi-network-smartcard Summary: A Smartcard library in Native API -Version: 0.0.10 +Version: 0.0.11 Release: 1 Group: Network & Connectivity/Smartcard License: Apache-2.0 @@ -59,3 +59,4 @@ rm -rf %{buildroot} %{_includedir}/*.h %{_libdir}/pkgconfig/*.pc %{_libdir}/libcapi-network-smartcard.so +%{_bindir}/smartcard_unit_test \ No newline at end of file diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 474d37d..0d1f21e 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,3 +1,5 @@ +PROJECT(smartcard_unit_test C) + SET(fw_test "${fw_name}-test") INCLUDE(FindPkgConfig) @@ -16,3 +18,5 @@ FOREACH(src ${sources}) ADD_EXECUTABLE(${src_name} ${src}) TARGET_LINK_LIBRARIES(${src_name} ${fw_name} ${${fw_test}_LDFLAGS}) ENDFOREACH() + +INSTALL(TARGETS smartcard_unit_test RUNTIME DESTINATION bin/)