]> granicus.if.org Git - php/commitdiff
Add skipif as this test became only valid with JIT compiled in
authorAnatol Belski <ab@php.net>
Tue, 14 Nov 2017 14:53:06 +0000 (15:53 +0100)
committerAnatol Belski <ab@php.net>
Tue, 14 Nov 2017 14:53:06 +0000 (15:53 +0100)
Without JIT, the depth limit is respected, but for JIT it's irrelevant.

ext/pcre/tests/grep2.phpt

index 8a6b0eaa589cdb3d24e813a2b759c65da8e55c4c..4155e2bc88dc5735ff481f6c96e6e665cc84eef6 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 preg_grep() 2nd test
+--SKIPIF--
+<?php if (!PCRE_JIT_SUPPORT) die("skip no pcre jit support"); ?>
 --FILE--
 <?php