Add missing flags 72/272872/1
authorhyunuk.tak <hyunuk.tak@samsung.com>
Mon, 21 Mar 2022 02:48:45 +0000 (11:48 +0900)
committerhyunuk.tak <hyunuk.tak@samsung.com>
Mon, 28 Mar 2022 01:48:42 +0000 (10:48 +0900)
Change-Id: Icaa2d7cb37cdb8c1805cd978b4e5ffda78a29740
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
CMakeLists.txt
packaging/capi-network-thread.spec
tests/thread-test/thread-scenarios.c [moved from tests/thread-scenarios.c with 100% similarity]

index 59a94cf..77d991d 100644 (file)
@@ -75,6 +75,9 @@ CONFIGURE_FILE(
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
 
 ADD_SUBDIRECTORY(tests/thread-test)
+IF(UNITTEST)
+ADD_SUBDIRECTORY(tests/unittest)
+ENDIF(UNITTEST)
 
 IF(UNIX)
 
index 5f79260..9db4f3e 100644 (file)
@@ -135,7 +135,9 @@ genhtml %{name}.info -o out --legend --show-details
 %files test
 %manifest %{name}.manifest
 %attr(777,network_fw,network_fw) %{_bindir}/thread-test
+%if 0%{?gcov:1}
 %attr(777,network_fw,network_fw) %{_bindir}/thread-unittest
+%endif
 
 %if 0%{?gcov:1}
 %files gcov