com php-src: Add skipif as this test became only valid with JIT compiled in: ext/pcre/tests/grep2.phpt
| From: | Anatol Belski | Date: | Tue, 14 Nov 2017 14:53:06 +0000 |
| Subject: | com php-src: Add skipif as this test became only valid with JIT compiled in: ext/pcre/tests/grep2.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-100230@lists.php.net to get a copy of this message | ||
Commit: 19c56e42c591a040f739816503ee817e0c1ec14c
Author: Anatol Belski <ab@php.net> Tue, 14 Nov 2017 15:53:06 +0100
Parents: 4d5330fbe1eab52835bb3dbf9c8dc85f31dfbc99
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=19c56e42c591a040f739816503ee817e0c1ec14c
Log:
Add skipif as this test became only valid with JIT compiled in
Without JIT, the depth limit is respected, but for JIT it's irrelevant.
Changed paths:
M ext/pcre/tests/grep2.phpt
Diff:
diff --git a/ext/pcre/tests/grep2.phpt b/ext/pcre/tests/grep2.phpt
index 8a6b0ea..4155e2b 100644
--- a/ext/pcre/tests/grep2.phpt
+++ b/ext/pcre/tests/grep2.phpt
@@ -1,5 +1,7 @@
--TEST--
preg_grep() 2nd test
+--SKIPIF--
+<?php if (!PCRE_JIT_SUPPORT) die("skip no pcre jit support"); ?>
--FILE--
<?php