blob: 6ba70882cb05eeb12820ff8c7908c2120bfdca27 (
plain) (
tree)
|
|
#!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
shopt -s inherit_errexit lastpipe
if ! command -v valgrind &> /dev/null; then
echo 'Please make sure valgrind is available.' >&2
exit 1
fi
exec valgrind -q \
--leak-check=full \
--show-leak-kinds=all \
--track-origins=yes \
--trace-children=yes \
-- "$@"
|