X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=RunGrepTest;h=721ec5184ab4d919386d5ef3bc7e9db3a7ec6ca5;hb=cef3458b870c4ae76061d6238197dcf96dc9690b;hp=a6e93d348924356613fa7e9d026c70e551e947ad;hpb=89fe0c9bb581b5a1608738d68f2520c6426b549b;p=pcre3.git diff --git a/RunGrepTest b/RunGrepTest index a6e93d3..721ec51 100755 --- a/RunGrepTest +++ b/RunGrepTest @@ -67,6 +67,15 @@ fi ./pcretest -C utf >/dev/null utf8=$? +# We need valgrind suppressions when JIT is in use. (This isn't perfect because +# some tests are run with -no-jit, but as PCRE1 is in maintenance only, I have +# not bothered about that.) + +./pcretest -C jit >/dev/null +if [ $? -eq 1 -a "$valgrind" != "" ] ; then + valgrind="$valgrind --suppressions=./testdata/valgrind-jit.supp" +fi + echo "Testing pcregrep main features" echo "---------------------------- Test 1 ------------------------------" >testtrygrep