소스 검색

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 $*