diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-09-25 10:33:12 +0100 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-09-25 10:33:12 +0100 |
commit | 0b0ae4d86e8b090acf909eb3e0df05e98361086c (patch) | |
tree | de7e29a7735ba1b25d70b10b619306f6400238fa /scripts | |
parent | 07a46eded142f35952a56198c4d5f2a7e8edd3a8 (diff) | |
download | libnice-0b0ae4d86e8b090acf909eb3e0df05e98361086c.tar.gz |
tests: Add a Valgrind suppression file
To be used with `make check-valgrind`.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/valgrind.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/valgrind.sh b/scripts/valgrind.sh index 1e25875..2864b6f 100755 --- a/scripts/valgrind.sh +++ b/scripts/valgrind.sh @@ -3,10 +3,14 @@ export G_SLICE=always-malloc export G_DEBUG=gc-friendly +tests_dir="`dirname $0`/../tests" + report=`libtool --mode=execute valgrind \ --leak-check=full \ --show-reachable=no \ --error-exitcode=1 \ + --suppressions=$tests_dir/libnice.supp \ + --num-callers=30 \ $1 2>&1` #if echo "$report" | grep -q ==; then |