util: valgrind.sh: Find suppressions regardless of current dir

pull/143/merge
Andri Yngvason 2023-10-03 22:19:22 +00:00
parent 9ff7ba61e2
commit b827af6270
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
#!/bin/sh #!/bin/bash
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
valgrind --leak-check=full \ valgrind --leak-check=full \
--show-leak-kinds=all \ --show-leak-kinds=all \
--suppressions=util/valgrind.supp \ --suppressions=$SCRIPT_DIR/valgrind.supp \
$@ $@