aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-01-12 18:19:45 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-01-12 18:19:45 -0800
commit934baa3bb14594428427bac31bf98b081c2156e0 (patch)
tree15a9ccf3c7bbc31ec17946f01b49b937ad8b9ff4 /Makefile
parent9fef05c2f07a20c2e32746cd4bbb14e85e1e64fc (diff)
Add tools/run_tests/run_lcov.sh
This is a tool for collecting coverage reports from our tests and combining them with the open-source tool 'lcov'.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 35c2d84800..ae78f8259d 100644
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,15 @@ CPPFLAGS_msan = -O1 -fsanitize=memory -fno-omit-frame-pointer
LDFLAGS_msan = -fsanitize=memory
DEFINES_msan = NDEBUG
+VALID_CONFIG_gcov = 1
+CC_gcov = gcc
+CXX_gcov = g++
+LD_gcov = gcc
+LDXX_gcov = g++
+CPPFLAGS_gcov = -O0 -fprofile-arcs -ftest-coverage
+LDFLAGS_gcov = -fprofile-arcs -ftest-coverage
+DEFINES_gcov = NDEBUG
+
# General settings.
# You may want to change these depending on your system.