ut: sync with the gtest branch
[platform/core/uifw/libtbm.git] / ut / Makefile.am
index 9e24c93..c2c5269 100644 (file)
@@ -18,7 +18,8 @@ tbm_utests_CXXFLAGS = \
        -I../src \
        -I./gtest/googletest/include \
        -fpermissive \
-       -w
+       -w \
+       --coverage
 # The flag -w is used, because there are many warnings in libtbm's sources.
 # Warnings occur because we build project with g++.
 # In C++ we need to use explicit types conversion.
@@ -30,7 +31,8 @@ tbm_utests_LDFLAGS = \
        ${LDFLAGS} \
        @LIBTBM_LIBS@ \
        -ldl \
-       -pthread
+       -pthread \
+       --coverage
 
 check:
        ./tbm_utests