added unit test console app to devel package for Building Block. 31/138131/1 accepted/tizen/unified/20170711.181306 submit/tizen/20170711.071902
authorHyihong Chae <hh.chae@samsung.com>
Tue, 11 Jul 2017 07:09:39 +0000 (16:09 +0900)
committerHyihong Chae <hh.chae@samsung.com>
Tue, 11 Jul 2017 07:09:39 +0000 (16:09 +0900)
Change-Id: I34fdfc69540221244c5e2c6cd1d053fa5bea0af9
Signed-off-by: HyiHong Chae <hh.chae@samsung.com>
packaging/capi-network-mtp.spec
test/CMakeLists.txt

index 458474bc542d768dcac10437433b2dd8e0481480..89a7e210658a4fad7c7dd652d5ddae407c0f3311 100755 (executable)
@@ -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
index a8a99ae70adca3a2dae076083fa366cbc5502d7c..87b83273658c8c85107751e015964c6805312c0f 100755 (executable)
@@ -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/)