Update valgrind parameters.

This commit is contained in:
Philip.Hazel 2016-01-30 15:19:48 +00:00
parent 1a01c2ac9d
commit f345e7dd9a
3 changed files with 9 additions and 5 deletions

View File

@ -15,6 +15,10 @@ non-printing characters.
3. Binary zeros are not supported in pcre2test input files. It now detects them 3. Binary zeros are not supported in pcre2test input files. It now detects them
and gives an error. and gives an error.
4. Updated the valgrind parameters in RunTest: (a) changed smc-check=all to
smc-check=sll-non-file; (b) changed obj:* in the suppression file to obj:??? so
that it matches only unknown objects.
Version 10.21 12-January-2016 Version 10.21 12-January-2016
----------------------------- -----------------------------

View File

@ -265,8 +265,8 @@ while [ $# -gt 0 ] ; do
bigstack|-bigstack) bigstack=yes;; bigstack|-bigstack) bigstack=yes;;
nojit|-nojit) nojit=yes;; nojit|-nojit) nojit=yes;;
sim|-sim) shift; sim=$1;; sim|-sim) shift; sim=$1;;
valgrind|-valgrind) valgrind="valgrind --tool=memcheck -q --smc-check=all";; valgrind|-valgrind) valgrind="valgrind --tool=memcheck -q --smc-check=all-non-file";;
valgrind-log|-valgrind-log) valgrind="valgrind --tool=memcheck --num-callers=30 --leak-check=no --error-limit=no --smc-check=all --log-file=report.%p ";; valgrind-log|-valgrind-log) valgrind="valgrind --tool=memcheck --num-callers=30 --leak-check=no --error-limit=no --smc-check=all-non-file --log-file=report.%p ";;
~*) ~*)
if expr "$1" : '~[0-9][0-9]*$' >/dev/null; then if expr "$1" : '~[0-9][0-9]*$' >/dev/null; then
skip="$skip `expr "$1" : '~\([0-9]*\)*$'`" skip="$skip `expr "$1" : '~\([0-9]*\)*$'`"

View File

@ -1,7 +1,7 @@
{ {
name name
Memcheck:Addr16 Memcheck:Addr16
obj:* obj:???
obj:* obj:???
obj:* obj:???
} }