summaryrefslogtreecommitdiff
path: root/sapi/phpdbg
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/phpdbg')
-rw-r--r--sapi/phpdbg/tests/breakpoints_001.phpt6
-rw-r--r--sapi/phpdbg/tests/breakpoints_002.phpt6
-rw-r--r--sapi/phpdbg/tests/breakpoints_003.phpt6
-rw-r--r--sapi/phpdbg/tests/breakpoints_004.phpt6
-rw-r--r--sapi/phpdbg/tests/exceptions_003.phpt6
-rw-r--r--sapi/phpdbg/tests/finish_leave_001.phpt6
-rw-r--r--sapi/phpdbg/tests/info_002.phpt6
-rw-r--r--sapi/phpdbg/tests/next_001.phpt6
-rw-r--r--sapi/phpdbg/tests/phpdbg_break_next.phpt6
-rw-r--r--sapi/phpdbg/tests/run_002.phpt6
-rw-r--r--sapi/phpdbg/tests/set_exception_handler.phpt6
-rw-r--r--sapi/phpdbg/tests/watch_001.phpt3
-rw-r--r--sapi/phpdbg/tests/watch_002.phpt3
-rw-r--r--sapi/phpdbg/tests/watch_003.phpt3
-rw-r--r--sapi/phpdbg/tests/watch_004.phpt3
-rw-r--r--sapi/phpdbg/tests/watch_005.phpt3
-rw-r--r--sapi/phpdbg/tests/watch_006.phpt3
17 files changed, 84 insertions, 0 deletions
diff --git a/sapi/phpdbg/tests/breakpoints_001.phpt b/sapi/phpdbg/tests/breakpoints_001.phpt
index 28f11760c8..4a13593d25 100644
--- a/sapi/phpdbg/tests/breakpoints_001.phpt
+++ b/sapi/phpdbg/tests/breakpoints_001.phpt
@@ -1,5 +1,11 @@
--TEST--
Fundamental breakpoints functionality
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--PHPDBG--
b 3
r
diff --git a/sapi/phpdbg/tests/breakpoints_002.phpt b/sapi/phpdbg/tests/breakpoints_002.phpt
index 93351321a8..fe56256dd7 100644
--- a/sapi/phpdbg/tests/breakpoints_002.phpt
+++ b/sapi/phpdbg/tests/breakpoints_002.phpt
@@ -1,5 +1,11 @@
--TEST--
Preserve breakpoints on restart
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--PHPDBG--
b breakpoints_002.php:4
r
diff --git a/sapi/phpdbg/tests/breakpoints_003.phpt b/sapi/phpdbg/tests/breakpoints_003.phpt
index 9a1f7cccc5..0db228f384 100644
--- a/sapi/phpdbg/tests/breakpoints_003.phpt
+++ b/sapi/phpdbg/tests/breakpoints_003.phpt
@@ -1,5 +1,11 @@
--TEST--
Test deleting breakpoints
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--PHPDBG--
b 4
b del 0
diff --git a/sapi/phpdbg/tests/breakpoints_004.phpt b/sapi/phpdbg/tests/breakpoints_004.phpt
index 917e908efb..8141bf2252 100644
--- a/sapi/phpdbg/tests/breakpoints_004.phpt
+++ b/sapi/phpdbg/tests/breakpoints_004.phpt
@@ -1,5 +1,11 @@
--TEST--
Test opcode breakpoints
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--PHPDBG--
b ZEND_ECHO
r
diff --git a/sapi/phpdbg/tests/exceptions_003.phpt b/sapi/phpdbg/tests/exceptions_003.phpt
index ee68490df1..d0f00b4ceb 100644
--- a/sapi/phpdbg/tests/exceptions_003.phpt
+++ b/sapi/phpdbg/tests/exceptions_003.phpt
@@ -1,5 +1,11 @@
--TEST--
Test breaks on HANDLE_EXCEPTION
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--PHPDBG--
b 5
r
diff --git a/sapi/phpdbg/tests/finish_leave_001.phpt b/sapi/phpdbg/tests/finish_leave_001.phpt
index cac771fd2f..0597b3de0c 100644
--- a/sapi/phpdbg/tests/finish_leave_001.phpt
+++ b/sapi/phpdbg/tests/finish_leave_001.phpt
@@ -1,5 +1,11 @@
--TEST--
test finish and leave commands
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--INI--
opcache.optimization_level=0
--PHPDBG--
diff --git a/sapi/phpdbg/tests/info_002.phpt b/sapi/phpdbg/tests/info_002.phpt
index 8b1aa0930c..e16737dcc2 100644
--- a/sapi/phpdbg/tests/info_002.phpt
+++ b/sapi/phpdbg/tests/info_002.phpt
@@ -1,5 +1,11 @@
--TEST--
info constants test
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--PHPDBG--
b 10
r
diff --git a/sapi/phpdbg/tests/next_001.phpt b/sapi/phpdbg/tests/next_001.phpt
index afc5133d25..88f9ebd018 100644
--- a/sapi/phpdbg/tests/next_001.phpt
+++ b/sapi/phpdbg/tests/next_001.phpt
@@ -1,5 +1,11 @@
--TEST--
Test next command on function boundaries
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--PHPDBG--
b 4
r
diff --git a/sapi/phpdbg/tests/phpdbg_break_next.phpt b/sapi/phpdbg/tests/phpdbg_break_next.phpt
index 37ee2e8282..b129b6780a 100644
--- a/sapi/phpdbg/tests/phpdbg_break_next.phpt
+++ b/sapi/phpdbg/tests/phpdbg_break_next.phpt
@@ -1,5 +1,11 @@
--TEST--
Test phpdbg_break_next() function
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--PHPDBG--
r
c
diff --git a/sapi/phpdbg/tests/run_002.phpt b/sapi/phpdbg/tests/run_002.phpt
index 02f6889d6d..cffe42f27d 100644
--- a/sapi/phpdbg/tests/run_002.phpt
+++ b/sapi/phpdbg/tests/run_002.phpt
@@ -1,5 +1,11 @@
--TEST--
Stdin and escaped args being passed to run command
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--CLEAN--
<?php
@unlink("run_002_tmp.fixture");
diff --git a/sapi/phpdbg/tests/set_exception_handler.phpt b/sapi/phpdbg/tests/set_exception_handler.phpt
index 7d4d4faca0..bc44a0d87e 100644
--- a/sapi/phpdbg/tests/set_exception_handler.phpt
+++ b/sapi/phpdbg/tests/set_exception_handler.phpt
@@ -1,5 +1,11 @@
--TEST--
set_exception_handler() in phpdbg
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--PHPDBG--
r
c
diff --git a/sapi/phpdbg/tests/watch_001.phpt b/sapi/phpdbg/tests/watch_001.phpt
index 90ede3f952..2927496dec 100644
--- a/sapi/phpdbg/tests/watch_001.phpt
+++ b/sapi/phpdbg/tests/watch_001.phpt
@@ -5,6 +5,9 @@ Test simple recursive watchpoint
if (PHP_INT_SIZE == 4) {
die("xfail There may be flaws in the implementation of watchpoints that cause failures");
}
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
if (getenv('SKIP_ASAN')) {
die("skip intentionally causes segfaults");
}
diff --git a/sapi/phpdbg/tests/watch_002.phpt b/sapi/phpdbg/tests/watch_002.phpt
index ba2cad1abe..b2b8609590 100644
--- a/sapi/phpdbg/tests/watch_002.phpt
+++ b/sapi/phpdbg/tests/watch_002.phpt
@@ -5,6 +5,9 @@ Test simple array watchpoint with replace
if (PHP_INT_SIZE == 4) {
die("xfail There may be flaws in the implementation of watchpoints that cause failures");
}
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
if (getenv('SKIP_ASAN')) {
die("skip intentionally causes segfaults");
}
diff --git a/sapi/phpdbg/tests/watch_003.phpt b/sapi/phpdbg/tests/watch_003.phpt
index ab6dc317a8..dd75f3321f 100644
--- a/sapi/phpdbg/tests/watch_003.phpt
+++ b/sapi/phpdbg/tests/watch_003.phpt
@@ -5,6 +5,9 @@ Test simple watchpoint with replace
if (PHP_INT_SIZE == 4) {
die("xfail There may be flaws in the implementation of watchpoints that cause failures");
}
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
if (getenv('SKIP_ASAN')) {
die("skip intentionally causes segfaults");
}
diff --git a/sapi/phpdbg/tests/watch_004.phpt b/sapi/phpdbg/tests/watch_004.phpt
index 42e3fd3b26..b04bea20b0 100644
--- a/sapi/phpdbg/tests/watch_004.phpt
+++ b/sapi/phpdbg/tests/watch_004.phpt
@@ -5,6 +5,9 @@ Test detection of inline string manipulations on zval watch
if (PHP_INT_SIZE == 4) {
die("xfail There may be flaws in the implementation of watchpoints that cause failures");
}
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
if (getenv('SKIP_ASAN')) {
die("skip intentionally causes segfaults");
}
diff --git a/sapi/phpdbg/tests/watch_005.phpt b/sapi/phpdbg/tests/watch_005.phpt
index aacc158f61..73b1e628a1 100644
--- a/sapi/phpdbg/tests/watch_005.phpt
+++ b/sapi/phpdbg/tests/watch_005.phpt
@@ -5,6 +5,9 @@ Test proper watch comparisons when having multiple levels of indirection from a
if (PHP_INT_SIZE == 4) {
die("xfail There may be flaws in the implementation of watchpoints that cause failures");
}
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
if (getenv('SKIP_ASAN')) {
die("skip intentionally causes segfaults");
}
diff --git a/sapi/phpdbg/tests/watch_006.phpt b/sapi/phpdbg/tests/watch_006.phpt
index 5b5ca9ee57..8fb2fc3e58 100644
--- a/sapi/phpdbg/tests/watch_006.phpt
+++ b/sapi/phpdbg/tests/watch_006.phpt
@@ -5,6 +5,9 @@ Test multiple watch elements pointing to the same watchpoint
if (PHP_INT_SIZE == 4) {
die("xfail There may be flaws in the implementation of watchpoints that cause failures");
}
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
if (getenv('SKIP_ASAN')) {
die("skip intentionally causes segfaults");
}