com php-src: use XFAILIF rather than XFAIL to avoid warnings [ci skip]: sapi/phpdbg/tests/watch_001.phpt sapi/phpdbg/tests/ watch_002.phpt
sapi/phpdbg/tests/watch_003 .phpt sapi/phpdbg/tests/watch_004.phpt sapi/php dbg/tests/watch_005.phpt sapi/phpdbg/tests/watch_ 006.phpt
| From: | Joe Watkins | Date: | Tue, 11 Jun 2019 10:55:38 +0000 |
| Subject: | com php-src: use XFAILIF rather than XFAIL to avoid warnings [ci skip]: sapi/phpdbg/tests/watch_001.phpt sapi/phpdbg/tests/ watch_002.phpt sapi/phpdbg/tests/watch_003 .phpt sapi/phpdbg/tests/watch_004.phpt sapi/php dbg/tests/watch_005.phpt sapi/phpdbg/tests/watch_ 006.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106664@lists.php.net to get a copy of this message | ||
Commit: 8f93beb06e8450126e6f78c3b650b68f390a4deb
Author: Joe Watkins <krakjoe@php.net> Tue, 11 Jun 2019 12:53:34 +0200
Parents: 036b0a1d4d74cc2028647736fb7545931e9741ab
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8f93beb06e8450126e6f78c3b650b68f390a4deb
Log:
use XFAILIF rather than XFAIL to avoid warnings [ci skip]
Changed paths:
M sapi/phpdbg/tests/watch_001.phpt
M sapi/phpdbg/tests/watch_002.phpt
M sapi/phpdbg/tests/watch_003.phpt
M sapi/phpdbg/tests/watch_004.phpt
M sapi/phpdbg/tests/watch_005.phpt
M sapi/phpdbg/tests/watch_006.phpt
Diff:
diff --git a/sapi/phpdbg/tests/watch_001.phpt b/sapi/phpdbg/tests/watch_001.phpt
index 17e27da..05eb833 100644
--- a/sapi/phpdbg/tests/watch_001.phpt
+++ b/sapi/phpdbg/tests/watch_001.phpt
@@ -1,5 +1,11 @@
--TEST--
Test simple recursive watchpoint
+--SKIPIF--
+<?php
+if (PHP_INT_SIZE == 4) {
+ die("xfail There may be flaws in the implementation of watchpoints that cause
failures")
+}
+?>
--INI--
opcache.optimization_level=0
--PHPDBG--
@@ -45,5 +51,3 @@ $b = [$a];
unset($b);
$b = 2;
---XFAIL--
-There may be flaws in the implementation of watchpoints that cause failures
diff --git a/sapi/phpdbg/tests/watch_002.phpt b/sapi/phpdbg/tests/watch_002.phpt
index 5d97763..c0d9536 100644
--- a/sapi/phpdbg/tests/watch_002.phpt
+++ b/sapi/phpdbg/tests/watch_002.phpt
@@ -1,5 +1,11 @@
--TEST--
Test simple array watchpoint with replace
+--SKIPIF--
+<?php
+if (PHP_INT_SIZE == 4) {
+ die("xfail There may be flaws in the implementation of watchpoints that cause
failures")
+}
+?>
--PHPDBG--
b 6
r
@@ -30,5 +36,3 @@ $a[0] = 1;
$a[0] = 2;
$a = [0 => 3, 1 => 4];
---XFAIL--
-There may be flaws in the implementation of watchpoints that cause failures
diff --git a/sapi/phpdbg/tests/watch_003.phpt b/sapi/phpdbg/tests/watch_003.phpt
index 173d9b2..5bc560e 100644
--- a/sapi/phpdbg/tests/watch_003.phpt
+++ b/sapi/phpdbg/tests/watch_003.phpt
@@ -1,5 +1,11 @@
--TEST--
Test simple watchpoint with replace
+--SKIPIF--
+<?php
+if (PHP_INT_SIZE == 4) {
+ die("xfail There may be flaws in the implementation of watchpoints that cause
failures")
+}
+?>
--PHPDBG--
b 6
r
@@ -37,5 +43,3 @@ $a[0] = 1;
$a[0] = 2;
$a = [0 => 3, 1 => 4];
---XFAIL--
-There may be flaws in the implementation of watchpoints that cause failures
diff --git a/sapi/phpdbg/tests/watch_004..phpt b/sapi/phpdbg/tests/watch_004.phpt
index 2781fbe..e21c1dc 100644
--- a/sapi/phpdbg/tests/watch_004.phpt
+++ b/sapi/phpdbg/tests/watch_004.phpt
@@ -1,5 +1,11 @@
--TEST--
Test detection of inline string manipulations on zval watch
+--SKIPIF--
+<?php
+if (PHP_INT_SIZE == 4) {
+ die("xfail There may be flaws in the implementation of watchpoints that cause
failures")
+}
+?>
--INI--
opcache.optimization_level=0
--PHPDBG--
@@ -36,5 +42,3 @@ prompt>
$b = "a";
$a = $b..$b;
$a[1] = "b";
---XFAIL--
-There may be flaws in the implementation of watchpoints that cause failures
diff --git a/sapi/phpdbg/tests/watch_005.phpt b/sapi/phpdbg/tests/watch_005.phpt
index c36b519..7d479b5 100644
--- a/sapi/phpdbg/tests/watch_005.phpt
+++ b/sapi/phpdbg/tests/watch_005.phpt
@@ -1,5 +1,11 @@
--TEST--
Test proper watch comparisons when having multiple levels of indirection from a zval to its value
+--SKIPIF--
+<?php
+if (PHP_INT_SIZE == 4) {
+ die("xfail There may be flaws in the implementation of watchpoints that cause
failures")
+}
+?>
--PHPDBG--
b 3
r
@@ -46,5 +52,3 @@ $c = &$a;
$a[1] = "b";
exit;
---XFAIL--
-There may be flaws in the implementation of watchpoints that cause failures
diff --git a/sapi/phpdbg/tests/watch_006.phpt b/sapi/phpdbg/tests/watch_006.phpt
index bfcfca5..f9a1f2c 100644
--- a/sapi/phpdbg/tests/watch_006.phpt
+++ b/sapi/phpdbg/tests/watch_006.phpt
@@ -1,5 +1,11 @@
--TEST--
Test multiple watch elements pointing to the same watchpoint
+--SKIPIF--
+<?php
+if (PHP_INT_SIZE == 4) {
+ die("xfail There may be flaws in the implementation of watchpoints that cause
failures")
+}
+?>
--PHPDBG--
b 4
r
@@ -69,5 +75,3 @@ $a[0] = 2;
$a[1] = 3;
$c = [1];
$b = &$c;
---XFAIL--
-There may be flaws in the implementation of watchpoints that cause failures