summaryrefslogtreecommitdiff
path: root/pcre/RunGrepTest
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-06-21 16:02:35 +0200
committerSergei Golubchik <serg@mariadb.org>2016-06-21 16:02:35 +0200
commit1592fbd332373a110edcc28468cd8dc2b99271ef (patch)
treeea55441a8d982b7f1593d7fb00f0db7d63924381 /pcre/RunGrepTest
parente7591a1ba94f404a87e65554298574bfa97020f2 (diff)
downloadmariadb-git-1592fbd332373a110edcc28468cd8dc2b99271ef.tar.gz
8.39
Diffstat (limited to 'pcre/RunGrepTest')
-rwxr-xr-xpcre/RunGrepTest9
1 files changed, 9 insertions, 0 deletions
diff --git a/pcre/RunGrepTest b/pcre/RunGrepTest
index a6e93d34892..721ec5184ab 100755
--- a/pcre/RunGrepTest
+++ b/pcre/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