Skip to content

Commit 04c9749

Browse files
committed
Skip JIT test if php is compiled without jit
1 parent 9506ca6 commit 04c9749

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/opcache/tests/jit/gh14267_002.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ opcache.jit=disable
77
opcache.jit_buffer_size=32M
88
--EXTENSIONS--
99
opcache
10+
--SKIPIF--
11+
<?php
12+
if (ini_get('opcache.jit') === false) die('skip PHP is compiled without JIT');
13+
?>
1014
--FILE--
1115
<?php
1216
ini_set('opcache.jit', 'tracing');

0 commit comments

Comments
 (0)