Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
c35b4e84
Commit
c35b4e84
authored
Apr 04, 2012
by
Premysl Hruby
Committed by
antirez
Apr 05, 2012
Browse files
add support for generation of lcov coverage reports
parent
0934a4df
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Makefile
View file @
c35b4e84
...
...
@@ -226,10 +226,10 @@ redis-check-aof: .make-prerequisites $(CHECKAOFOBJ)
%.o
:
%.c .make-prerequisites
$(QUIET_CC)$(CC)
-c
$(CFLAGS)
$(DEBUG)
$(COMPILE_TIME)
-I
../deps/lua/src
$<
.PHONY
:
all clean distclean
.PHONY
:
all clean distclean
lcov
clean
:
rm
-rf
$(PRGNAME)
$(BENCHPRGNAME)
$(CLIPRGNAME)
$(CHECKDUMPPRGNAME)
$(CHECKAOFPRGNAME)
*
.o
*
.gcda
*
.gcno
*
.gcov
rm
-rf
$(PRGNAME)
$(BENCHPRGNAME)
$(CLIPRGNAME)
$(CHECKDUMPPRGNAME)
$(CHECKAOFPRGNAME)
*
.o
*
.gcda
*
.gcno
*
.gcov
redis.info lcov-html
distclean
:
clean
-
(
cd
../deps
&&
$(MAKE)
distclean
)
...
...
@@ -241,6 +241,12 @@ dep:
test
:
redis-server redis-check-aof
@
(
cd
..
;
./runtest
)
lcov
:
$(MAKE)
clean gcov
@
(
set
-e
;
cd
..
;
./runtest
--clients
1
)
@
geninfo
-o
redis.info .
@
genhtml
--legend
-o
lcov-html redis.info
bench
:
./redis-benchmark
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment