diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-06-09 05:01:44 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-06-09 05:01:44 +0200 |
commit | 14c6a4fba1ef8c727f316a3201ed87cdc659dc3b (patch) | |
tree | 412be589ef737736fe6795b078b9bc816ed943ce /test.d/mdsinitrc | |
parent | m (diff) | |
download | mds-14c6a4fba1ef8c727f316a3201ed87cdc659dc3b.tar.gz mds-14c6a4fba1ef8c727f316a3201ed87cdc659dc3b.tar.bz2 mds-14c6a4fba1ef8c727f316a3201ed87cdc659dc3b.tar.xz |
use valgrind on all mds programs
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rwxr-xr-x | test.d/mdsinitrc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test.d/mdsinitrc b/test.d/mdsinitrc index 0c1f75f..d809c24 100755 --- a/test.d/mdsinitrc +++ b/test.d/mdsinitrc @@ -26,10 +26,14 @@ unset OLD_XDG_CONFIG_HOME if [ -z "${XDG_CONFIG_HOME}" ]; then unset XDG_CONFIG_HOME fi -mds-respawn --interval=10 \ +g= +if [ -z "${NO_VALGRIND}" ]; then + g="valgrind --leak-check=full --show-leak-kinds=all" +fi +$g mds-respawn --interval=10 \ { sleep 4s } \ { sleep 1m } \ - { mds-echo } \ + { $g mds-echo } \ & if which terminator 2>/dev/null >&2; then exec terminator |