summaryrefslogtreecommitdiffstats
path: root/scripts/run_valgrind.sh
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-09-11 20:15:33 +0200
committerChristian Göttsche <cgzones@googlemail.com>2020-09-17 22:06:36 +0200
commit3142077c7603fbac6adc12f881eb8c23280c9e4f (patch)
treebfa064f4c4eb71ab6230a8f51b96d98e36b1d53f /scripts/run_valgrind.sh
parentc7568bc0540d7d33233fc55fa9d5b11cffd56e36 (diff)
Add script to run htop under valgrind
Includes suppressions for ncurses leaks.
Diffstat (limited to 'scripts/run_valgrind.sh')
-rwxr-xr-xscripts/run_valgrind.sh6
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"

© 2014-2024 Faster IT GmbH | imprint | privacy policy