util: valgrind.sh: Find suppressions regardless of current dir
parent
9ff7ba61e2
commit
b827af6270
|
@ -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 \
|
||||||
$@
|
$@
|
||||||
|
|
Loading…
Reference in New Issue