Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| SHA1 Hash: | 4cda968e7176c91af2b46d7e66581d400a5d7220 |
|---|---|
| Date: | 2008-11-05 16:13:05 |
| User: | stephan |
| Comment: | egg |
Tags And Properties
- branch=trunk inherited from [a870fea998]
- sym-trunk inherited from [a870fea998]
Changes
Added src/grindit.sh
| Old () | New (c8917219b5dc19e5) | |||
|---|---|---|---|---|
| > | 1 | #!/bin/bash | ||
| > | 2 | app=./unittests | ||
| > | 3 | make ${app} || rm -f ${app} | ||
| > | 4 | test -x $app || { | ||
| > | 5 | echo "${app} not executable." | ||
| > | 6 | exit 3 | ||
| > | 7 | } | ||
| > | 8 | |||
| > | 9 | log=${app}.valgrind | ||
| > | 10 | valgrind --log-fd=3 \ | ||
| > | 11 | --leak-check=full -v \ | ||
| > | 12 | --show-reachable=yes \ | ||
| > | 13 | ${app} 3>${log} | ||
| > | 14 | x=$? | ||
| > | 15 | grep malloc/free ${log} && { | ||
| > | 16 | echo "Details are in [${log}]" | ||
| > | 17 | } | ||
| > | 18 | exit $x | ||