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: Date: Tue, 11 Jun 2019 10:55:28 +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-106663@lists.php.net to get a copy of this message
Commit: 9ecc0a4f296cf5c72572e75a9734b40d941e2427 Author: Joe Watkins <krakjoe@php.net> Tue, 11 Jun 2019 12:53:34 +0200 Parents: 51fb8dc422a744d502f7d3c293ced916974521d8 Branches: PHP-7.4 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9ecc0a4f296cf5c72572e75a9734b40d941e2427 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

« previous php.cvs (#106663) next »