]> granicus.if.org Git - php/commitdiff
use XFAILIF rather than XFAIL to avoid warnings [ci skip]
authorJoe Watkins <krakjoe@php.net>
Tue, 11 Jun 2019 10:53:34 +0000 (12:53 +0200)
committerJoe Watkins <krakjoe@php.net>
Tue, 11 Jun 2019 10:55:38 +0000 (12:55 +0200)
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/phpdbg/tests/watch_005.phpt
sapi/phpdbg/tests/watch_006.phpt

index 17e27da81a8ea35057ed4b16e8ff124306d3f9aa..05eb8331284d30b81f6299c2f6e1fea1f76c4dd6 100644 (file)
@@ -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
index 5d977635b27f3c8d458b488f83b4ad3956c42c90..c0d9536e9d1b1d8c77e02af7f2e65797fac5473d 100644 (file)
@@ -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
index 173d9b2e44b8f7599c2b04995449e7677333d8be..5bc560e7498351e3665f1986acfa010a9cf02092 100644 (file)
@@ -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
index 2781fbe30acc96e60d294658c7fd4d0f56aaf8d7..e21c1dceb6be17de08fe569ba0b1e1497393bc33 100644 (file)
@@ -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
index c36b519e79a4dff4c36fbabe790b52abeddcef03..7d479b5548fd61134a8a054ffb39de8817b380c5 100644 (file)
@@ -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
index bfcfca5fd2de2710300678cc6a28594c36c283e1..f9a1f2c86cc27523baa7f55bd820ac35e130a13e 100644 (file)
@@ -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