diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-09-11 20:15:33 +0200 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2020-09-17 22:06:36 +0200 |
commit | 3142077c7603fbac6adc12f881eb8c23280c9e4f (patch) | |
tree | bfa064f4c4eb71ab6230a8f51b96d98e36b1d53f /scripts/run_valgrind.sh | |
parent | c7568bc0540d7d33233fc55fa9d5b11cffd56e36 (diff) |
Add script to run htop under valgrind
Includes suppressions for ncurses leaks.
Diffstat (limited to 'scripts/run_valgrind.sh')
-rwxr-xr-x | scripts/run_valgrind.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/run_valgrind.sh b/scripts/run_valgrind.sh new file mode 100755 index 00000000..f635b93b --- /dev/null +++ b/scripts/run_valgrind.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +SCRIPT=$(readlink -f "$0") +SCRIPTDIR=$(dirname "$SCRIPT") + +valgrind --leak-check=full --show-reachable=yes --show-leak-kinds=all --errors-for-leak-kinds=all --suppressions="${SCRIPTDIR}/htop_suppressions.valgrind" "${SCRIPTDIR}/../htop" |