Kaynağa Gözat

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

Nathalie Furmento 9 yıl önce
ebeveyn
işleme
86184c7e23
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  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 $*