mirror of
https://github.com/fluencelabs/redis
synced 2025-07-26 05:51:55 +00:00
deps
geohash-int
hiredis
jemalloc
bin
doc
include
src
test
.autom4te.cfg
.gitattributes
.gitignore
COPYING
ChangeLog
INSTALL
Makefile.in
README
VERSION
autogen.sh
config.guess
config.stamp.in
config.sub
configure
configure.ac
coverage.sh
install-sh
jemalloc.pc.in
linenoise
lua
Makefile
README.md
update-jemalloc.sh
src
tests
utils
.gitignore
00-RELEASENOTES
BUGS
CONTRIBUTING
COPYING
INSTALL
MANIFESTO
Makefile
README.md
redis.conf
runtest
runtest-cluster
runtest-sentinel
sentinel.conf
17 lines
321 B
Bash
Executable File
17 lines
321 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
objdir=$1
|
|
suffix=$2
|
|
shift 2
|
|
objs=$@
|
|
|
|
gcov -b -p -f -o "${objdir}" ${objs}
|
|
|
|
# Move gcov outputs so that subsequent gcov invocations won't clobber results
|
|
# for the same sources with different compilation flags.
|
|
for f in `find . -maxdepth 1 -type f -name '*.gcov'` ; do
|
|
mv "${f}" "${f}.${suffix}"
|
|
done
|