Commit 8c989834 authored by Dafydd Harries's avatar Dafydd Harries

add valgrind wrapper script

darcs-hash:20070130155851-c9803-01fe933f2e02f51f174d4a204829ed60216bfb75.gz
parent ab9341d6
#!/bin/sh
set -e
export G_SLICE=always-malloc
report=`valgrind \
-q \
--leak-check=full \
--show-reachable=no \
--error-exitcode=1 \
$1 2>&1`
if echo "$report" | grep -q ==; then
echo "$report"
exit 1
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment