From: MyungJoo Ham Date: Mon, 2 Jul 2018 12:18:02 +0000 (+0900) Subject: [Common/Unittest] move unittest to tests/ X-Git-Tag: v0.0.1~102 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=23b9aac843399ba87b2a3cdafa6aa15c7da06c9b;p=platform%2Fupstream%2Fnnstreamer.git [Common/Unittest] move unittest to tests/ TODO: add runTest.sh for tests/common and remove unittest_common from rpm spec. Signed-off-by: MyungJoo Ham --- diff --git a/CMakeLists.txt b/CMakeLists.txt index d8f4d51..ba70afd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) diff --git a/common/test/unittest_common.cpp b/tests/common/unittest_common.cpp similarity index 100% rename from common/test/unittest_common.cpp rename to tests/common/unittest_common.cpp