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

add valgrind wrapper script

parent ab9341d6
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
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