Add tags for line coverage 48/179148/1 accepted/tizen/unified/20180703.163723 submit/tizen/20180703.095812
authorsooyeon.kim <sooyeon.kim@samsung.com>
Wed, 16 May 2018 06:09:20 +0000 (15:09 +0900)
committersooyeon.kim <sooyeon.kim@samsung.com>
Wed, 16 May 2018 06:09:20 +0000 (15:09 +0900)
Change-Id: Ibfbcbf095ddf0a6101d2577f3679536d4ad8c639
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
CMakeLists.txt
packaging/voice-control-elm.spec
src/vc_elm.c

index d8d30cc..49a8f50 100644 (file)
@@ -25,6 +25,7 @@ pkg_check_modules(pkgs REQUIRED
 # Build type
 SET(CMAKE_BUILD_TYPE "Release")
 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -g -D_GNU_SOURCE")
+#SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -g -D_GNU_SOURCE -fprofile-arcs -ftest-coverage")
 
 ADD_DEFINITIONS("-DVOICE_LIBDIR=\"${LIBDIR}\"")
 
index 5cb6e7e..0547c02 100644 (file)
@@ -47,6 +47,8 @@ cp %{SOURCE1001} %{SOURCE1002} .
 
 %build
 export LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--hash-style=both -Wl,--as-needed"
+#export CXXFLAGS="-fprofile-arcs -ftest-coverage"
+#export LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--hash-style=both -Wl,--as-needed -lgcov"
 rm -rf objdir
 mkdir objdir
 
index 231e0d0..b884266 100644 (file)
@@ -959,7 +959,7 @@ int _vc_elm_get_sub_item_hint_direction(Evas_Object *obj, vc_elm_direction_e *di
        else
                return VC_ELM_ERROR_OPERATION_FAILED;
 }
-
+//LCOV_EXCL_START
 int _vc_elm_set_text_domain(const char *domain, const char *locale_dir)
 {
 
@@ -1132,7 +1132,7 @@ int vc_elm_unset_click_time()
 
        return VC_ELM_ERROR_NONE;
 }
-
+//LCOV_EXCL_STOP
 #ifdef SRPOL_DEBUG
 /**
  * @brief Wrapper for making internal function public - for automated test purposes