summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/jit/reg_alloc_002.phpt
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2019-07-01 19:45:32 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2019-07-01 19:47:23 +0200
commitfc94e0fc6ee06bff8104f78330f8cd4d093d91e5 (patch)
tree187a06ca05492ac54c106f0eea296465dd2baf1a /ext/opcache/tests/jit/reg_alloc_002.phpt
parent8a0717255c5aca9625f697358287a14bbd625d1a (diff)
downloadphp-git-fc94e0fc6ee06bff8104f78330f8cd4d093d91e5.tar.gz
Fix SKIPIF conditions
The SKIPIF sections are executed in the directory where run-tests.php is located; therefore a relative path like `../skipif.inc` won't work as desired.
Diffstat (limited to 'ext/opcache/tests/jit/reg_alloc_002.phpt')
-rw-r--r--ext/opcache/tests/jit/reg_alloc_002.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/tests/jit/reg_alloc_002.phpt b/ext/opcache/tests/jit/reg_alloc_002.phpt
index cb032f7822..e93c4f3d5b 100644
--- a/ext/opcache/tests/jit/reg_alloc_002.phpt
+++ b/ext/opcache/tests/jit/reg_alloc_002.phpt
@@ -7,7 +7,7 @@ opcache.file_update_protection=0
opcache.jit_buffer_size=1M
opcache.protect_memory=1
--SKIPIF--
-<?php require_once('../skipif.inc'); ?>
+<?php require_once('skipif.inc'); ?>
--FILE--
<?php
class A {