diff options
author | Karel Kočí <cynerd@email.cz> | 2024-07-25 11:29:51 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2024-07-25 11:29:51 +0200 |
commit | 0adc7c32594913d0f4ec774a85cb03554cd719d4 (patch) | |
tree | c7053a3f14852754ca846cf5e27ef18fd62be385 /shellrc.d/dev | |
parent | 31f5accaa54f6110cfeefa19e3e4ed6d1a71190b (diff) | |
download | shellrc-0adc7c32594913d0f4ec774a85cb03554cd719d4.tar.gz shellrc-0adc7c32594913d0f4ec774a85cb03554cd719d4.tar.bz2 shellrc-0adc7c32594913d0f4ec774a85cb03554cd719d4.zip |
dev: ensure that valgrind exists with non-zero exit code on error
Diffstat (limited to 'shellrc.d/dev')
-rw-r--r-- | shellrc.d/dev | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/shellrc.d/dev b/shellrc.d/dev index 2934e87..74d692b 100644 --- a/shellrc.d/dev +++ b/shellrc.d/dev @@ -2,12 +2,12 @@ if command -v valgrind >/dev/null; then - alias memcheck="valgrind --track-fds=yes --leak-check=full --track-origins=yes" - alias callgrind="valgrind --tool=callgrind" - alias massif="valgrind --tool=massif" - alias drd="valgrind --tool=drd" - alias helgrind="valgrind --tool=helgrind" - alias dhat="valgrind --tool=dhat" + alias memcheck="valgrind --error-exitcode=118 --track-fds=yes --leak-check=full --track-origins=yes" + alias callgrind="valgrind --error-exitcode=118 --tool=callgrind" + alias massif="valgrind --error-exitcode=118 --tool=massif" + alias drd="valgrind --error-exitcode=118 --tool=drd" + alias helgrind="valgrind --error-exitcode=118 --tool=helgrind" + alias dhat="valgrind --error-exitcode=118 --tool=dhat" fi |