projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
1d3aea1
)
Added callgrind() to Makefile
author
<brian@localhost.localdomain>
<>
Wed, 13 May 2009 22:41:12 +0000
(15:41 -0700)
committer
<brian@localhost.localdomain>
<>
Wed, 13 May 2009 22:41:12 +0000
(15:41 -0700)
tests/Makefile.am
patch
|
blob
|
history
diff --git
a/tests/Makefile.am
b/tests/Makefile.am
index 5e51f666e0cfe0edb9af4d3a62db15196f8cd242..dc242acafabc3b788f3d5f06a7d069d64f75ce7f 100644
(file)
--- a/
tests/Makefile.am
+++ b/
tests/Makefile.am
@@
-76,9
+76,14
@@
valgrind:
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes testapp
cachegrind:
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes testapp
cachegrind:
- rm cachegrind.out.*
+ rm
-f
cachegrind.out.*
libtool --mode=execute valgrind --tool=cachegrind --branch-sim=yes testapp
libtool --mode=execute valgrind --tool=cachegrind --branch-sim=yes testapp
- cg_annotate cachegrind.out.* --auto=yes > /tmp/calgrind.out
+ cg_annotate cachegrind.out.* --auto=yes > /tmp/cachegrind.out
+
+callgrind:
+ rm -f callgrind.out.*
+ libtool --mode=execute valgrind --tool=callgrind testapp
+ callgrind_annotate callgrind.out.* --auto=yes > /tmp/callgrind.out
test-no-outputdiff: testapp
./testapp > /dev/null
test-no-outputdiff: testapp
./testapp > /dev/null