浏览代码

tools/valgrind/valgrind.sh: add script file to launch valgrind with all available suppression files

Nathalie Furmento 9 年之前
父节点
当前提交
86184c7e23
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      tools/valgrind/valgrind.sh

+ 4 - 0
tools/valgrind/valgrind.sh

@@ -0,0 +1,4 @@
+#!/bin/bash
+
+SUPPRESSIONS=$(for f in $(dirname $0)/*.suppr ; do echo "--suppressions=$f" ; done)
+valgrind $SUPPRESSIONS --leak-check=full --show-leak-kinds=all $*