Skip test if JIT is not available

This commit is contained in:
Dmitry Stogov 2020-12-01 09:58:33 +03:00
parent f1d11c118d
commit 31eafedf2e

View File

@ -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