repo.or.cz
/
git
/
spearce.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add valgrind support in test scripts
[git/spearce.git]
/
t
/
valgrind
/
valgrind.sh
blob
dc9261265b95c7100e4369bef82175f48a3c099e
1
#!/bin/sh
2
3
base
=
$
(
basename
"
$0
"
)
4
5
exec
valgrind
-q --error-exitcode
=
126
\
6
--leak-check
=
no \
7
--suppressions
=
"
$GIT_VALGRIND
/default.supp"
\
8
--gen-suppressions
=
all \
9
--track-origins
=
yes
\
10
--log-fd
=
4
\
11
--input-fd
=
4
\
12
$GIT_VALGRIND_OPTIONS
\
13
"
$GIT_VALGRIND
"
/
..
/
..
/
"
$base
"
"$@"