From: Hyihong Chae Date: Tue, 11 Jul 2017 07:09:39 +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=afaf6183602a2eccd31b9e16ee4e6700a3b8542f;p=platform%2Fcore%2Fapi%2Fmtp.git added unit test console app to devel package for Building Block. Change-Id: I34fdfc69540221244c5e2c6cd1d053fa5bea0af9 Signed-off-by: HyiHong Chae --- diff --git a/packaging/capi-network-mtp.spec b/packaging/capi-network-mtp.spec index 458474b..89a7e21 100755 --- a/packaging/capi-network-mtp.spec +++ b/packaging/capi-network-mtp.spec @@ -1,6 +1,6 @@ Name: capi-network-mtp Summary: A MTP library in Native API -Version: 1.3.17 +Version: 1.3.18 Release: 1 Group: Network & Connectivity/Other License: Apache-2.0 @@ -61,3 +61,4 @@ rm -rf %{buildroot} %{_includedir}/*.h %{_libdir}/pkgconfig/*.pc %{_libdir}/libcapi-network-mtp.so +%{_bindir}/mtp_unit_test \ No newline at end of file diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index a8a99ae..87b8327 100755 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,3 +1,5 @@ +PROJECT(mtp_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 mtp_unit_test RUNTIME DESTINATION bin/)