summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2014-08-01 23:59:48 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2014-08-01 23:59:48 +0200
commit87311806c99a050a6667042e08a01d06d5ee6c0e (patch)
tree01d27ad567b10cf65e69898447fb99206971cb81 /configure.ac
parent43c9e896a7c68a2746582939e8f6592230106b24 (diff)
build: Bring coverage back to a working state
With commit 6030b9de79a3403d42a01432b67e0fa7a3948149 the internal name EFL name was changed to EFLALL but the needed CFLAGS and LDFLAGS for coverage have not been adjusted. Thus it was simply no longer producing the gcda files needed by lcov. All back now and it shows an amazing jump in our coverage to: Overall coverage rate: lines......: 31.6% (45827 of 144975 lines) functions..: 41.1% (5620 of 13684 functions)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index cf56eb72b2..2fbc1fdcbf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -307,12 +307,12 @@ EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
307if test "${want_coverage}" = "yes" ; then 307if test "${want_coverage}" = "yes" ; then
308 AC_CHECK_PROG([have_lcov], [lcov], [yes], [no]) 308 AC_CHECK_PROG([have_lcov], [lcov], [yes], [no])
309 if test "x${have_lcov}" = "xyes" ; then 309 if test "x${have_lcov}" = "xyes" ; then
310 EFL_COV_CFLAGS="${EFL_COV_CFLAGS} -fprofile-arcs -ftest-coverage" 310 EFLALL_COV_CFLAGS="${EFLALL_COV_CFLAGS} -fprofile-arcs -ftest-coverage"
311 EFL_COV_LIBS="${EFL_COV_LIBS} -lgcov" 311 EFLALL_COV_LIBS="${EFLALL_COV_LIBS} -lgcov"
312 if test "x${prefer_assert}" = "xno"; then 312 if test "x${prefer_assert}" = "xno"; then
313 EFL_COV_CFLAGS="${EFL_COV_CFLAGS} -DNDEBUG" 313 EFLALL_COV_CFLAGS="${EFLALL_COV_CFLAGS} -DNDEBUG"
314 else 314 else
315 EFL_COV_CFLAGS="${EFL_COV_CFLAGS} -g -O0 -DDEBUG" 315 EFLALL_COV_CFLAGS="${EFLALL_COV_CFLAGS} -g -O0 -DDEBUG"
316 fi 316 fi
317 else 317 else
318 AC_MSG_ERROR([lcov is not found]) 318 AC_MSG_ERROR([lcov is not found])
@@ -1877,7 +1877,7 @@ if test "x${want_evas_cserve2}" = "xyes"; then
1877 if test "x${ac_cv_header_sys_epoll_h}" = "xno" || test "x${ac_cv_header_sys_inotify_h}" = "xno" || test "x${ac_cv_header_sys_signalfd_h}" = "xno"; then 1877 if test "x${ac_cv_header_sys_epoll_h}" = "xno" || test "x${ac_cv_header_sys_inotify_h}" = "xno" || test "x${ac_cv_header_sys_signalfd_h}" = "xno"; then
1878 want_evas_cserve2="no" 1878 want_evas_cserve2="no"
1879 else 1879 else
1880 EVAS_CSERVE2_SLAVE_LIBS="${EFL_COV_LIBS} ${EFL_LIBS} ${requirements_libs_shm}" 1880 EVAS_CSERVE2_SLAVE_LIBS="${EFLALL_COV_LIBS} ${EFL_LIBS} ${requirements_libs_shm}"
1881 AC_SUBST([EVAS_CSERVE2_SLAVE_LIBS]) 1881 AC_SUBST([EVAS_CSERVE2_SLAVE_LIBS])
1882 fi 1882 fi
1883fi 1883fi