summaryrefslogtreecommitdiff
path: root/RunGrepTest
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2016-05-23 15:06:35 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2016-05-23 15:06:35 +0000
commita8028e5f52992d430e05a348c920770419617b71 (patch)
tree392b984bae8867386f11ae29697f9268b11888cf /RunGrepTest
parentf9c3ebf6e58326412a4dfd9f19a97007672380ce (diff)
downloadpcre-a8028e5f52992d430e05a348c920770419617b71.tar.gz
File tidies for 8.39-RC1.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1651 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'RunGrepTest')
-rwxr-xr-xRunGrepTest9
1 files changed, 9 insertions, 0 deletions
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