[Common/Unittest] move unittest to tests/
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 2 Jul 2018 12:18:02 +0000 (21:18 +0900)
committer임근식/동작제어Lab(SR)/Principal Engineer/삼성전자 <geunsik.lim@samsung.com>
Mon, 2 Jul 2018 23:52:00 +0000 (08:52 +0900)
TODO: add runTest.sh for tests/common and remove unittest_common from rpm spec.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
CMakeLists.txt
tests/common/unittest_common.cpp [moved from common/test/unittest_common.cpp with 100% similarity]

index d8f4d51..ba70afd 100644 (file)
@@ -69,7 +69,7 @@ TARGET_INCLUDE_DIRECTORIES(common PUBLIC ${pkgs_INCLUDE_DIRS})
 SET(pkgs_LIBRARIES ${pkgs_LIBRARIES} common)
 
 # Unit test for common
-ADD_EXECUTABLE(unittest_common common/test/unittest_common.cpp ${gtestSrc})
+ADD_EXECUTABLE(unittest_common tests/common/unittest_common.cpp ${gtestSrc})
 TARGET_INCLUDE_DIRECTORIES(unittest_common PUBLIC ${pkgs_INCLUDE_DIRS} ${gtestInc})
 TARGET_LINK_LIBRARIES(unittest_common ${pkgs_LIBRARIES} ${gtestLink})