Skip to content

Commit 9ecc0a4

Browse files
committed
use XFAILIF rather than XFAIL to avoid warnings [ci skip]
1 parent 51fb8dc commit 9ecc0a4

File tree

6 files changed

+36
-12
lines changed

6 files changed

+36
-12
lines changed

sapi/phpdbg/tests/watch_001.phpt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
--TEST--
22
Test simple recursive watchpoint
3+
--SKIPIF--
4+
<?php
5+
if (PHP_INT_SIZE == 4) {
6+
die("xfail There may be flaws in the implementation of watchpoints that cause failures")
7+
}
8+
?>
39
--INI--
410
opcache.optimization_level=0
511
--PHPDBG--
@@ -45,5 +51,3 @@ $b = [$a];
4551

4652
unset($b);
4753
$b = 2;
48-
--XFAIL--
49-
There may be flaws in the implementation of watchpoints that cause failures

sapi/phpdbg/tests/watch_002.phpt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
--TEST--
22
Test simple array watchpoint with replace
3+
--SKIPIF--
4+
<?php
5+
if (PHP_INT_SIZE == 4) {
6+
die("xfail There may be flaws in the implementation of watchpoints that cause failures")
7+
}
8+
?>
39
--PHPDBG--
410
b 6
511
r
@@ -30,5 +36,3 @@ $a[0] = 1;
3036
$a[0] = 2;
3137

3238
$a = [0 => 3, 1 => 4];
33-
--XFAIL--
34-
There may be flaws in the implementation of watchpoints that cause failures

sapi/phpdbg/tests/watch_003.phpt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
--TEST--
22
Test simple watchpoint with replace
3+
--SKIPIF--
4+
<?php
5+
if (PHP_INT_SIZE == 4) {
6+
die("xfail There may be flaws in the implementation of watchpoints that cause failures")
7+
}
8+
?>
39
--PHPDBG--
410
b 6
511
r
@@ -37,5 +43,3 @@ $a[0] = 1;
3743
$a[0] = 2;
3844

3945
$a = [0 => 3, 1 => 4];
40-
--XFAIL--
41-
There may be flaws in the implementation of watchpoints that cause failures

sapi/phpdbg/tests/watch_004.phpt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
--TEST--
22
Test detection of inline string manipulations on zval watch
3+
--SKIPIF--
4+
<?php
5+
if (PHP_INT_SIZE == 4) {
6+
die("xfail There may be flaws in the implementation of watchpoints that cause failures")
7+
}
8+
?>
39
--INI--
410
opcache.optimization_level=0
511
--PHPDBG--
@@ -36,5 +42,3 @@ prompt>
3642
$b = "a";
3743
$a = $b.$b;
3844
$a[1] = "b";
39-
--XFAIL--
40-
There may be flaws in the implementation of watchpoints that cause failures

sapi/phpdbg/tests/watch_005.phpt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
--TEST--
22
Test proper watch comparisons when having multiple levels of indirection from a zval to its value
3+
--SKIPIF--
4+
<?php
5+
if (PHP_INT_SIZE == 4) {
6+
die("xfail There may be flaws in the implementation of watchpoints that cause failures")
7+
}
8+
?>
39
--PHPDBG--
410
b 3
511
r
@@ -46,5 +52,3 @@ $c = &$a;
4652
$a[1] = "b";
4753

4854
exit;
49-
--XFAIL--
50-
There may be flaws in the implementation of watchpoints that cause failures

sapi/phpdbg/tests/watch_006.phpt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
--TEST--
22
Test multiple watch elements pointing to the same watchpoint
3+
--SKIPIF--
4+
<?php
5+
if (PHP_INT_SIZE == 4) {
6+
die("xfail There may be flaws in the implementation of watchpoints that cause failures")
7+
}
8+
?>
39
--PHPDBG--
410
b 4
511
r
@@ -69,5 +75,3 @@ $a[0] = 2;
6975
$a[1] = 3;
7076
$c = [1];
7177
$b = &$c;
72-
--XFAIL--
73-
There may be flaws in the implementation of watchpoints that cause failures

0 commit comments

Comments
 (0)