mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Skip test if JIT is not available
This commit is contained in:
parent
f1d11c118d
commit
31eafedf2e
@ -7,6 +7,7 @@ opcache.jit_buffer_size=1M
|
||||
zend_test.replace_zend_execute_ex=1
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
<?php if (!isset(opcache_get_status()["jit"])) die('skip: JIT is not available'); ?>
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
Loading…
Reference in New Issue
Block a user