mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Give a reason why the test was skipped
This will help us debug why a test was skipped in GCOV (http://gcov.php.net/viewer.php?version=PHP_HEAD&func=skip), and maybe put them to run again
This commit is contained in:
parent
8ca1f47a7a
commit
c93aba042f
17 changed files with 28 additions and 25 deletions
|
@ -2,7 +2,7 @@
|
||||||
finfo_file(): Files and directories inside an stream
|
finfo_file(): Files and directories inside an stream
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
|
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
|
||||||
<?php if (!extension_loaded('zip')) { die("skip"); } ?>
|
<?php if (!extension_loaded('zip')) { die("skip zip extension not loaded"); } ?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
if (!extension_loaded('fileinfo')) {
|
if (!extension_loaded('fileinfo')) {
|
||||||
die("skip");
|
die("skip fileinfo extension not loaded");
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
Test iconv_mime_encode() function : usage variations - Pass different data types to mode arg
|
Test iconv_mime_encode() function : usage variations - Pass different data types to mode arg
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
PHP_INT_SIZE == 4 or die('skip');
|
PHP_INT_SIZE == 4 or die('skip 32-bit only');
|
||||||
extension_loaded('iconv') or die('skip');
|
extension_loaded('iconv') or die('skip iconv extension not loaded');
|
||||||
function_exists('iconv_mime_decode_headers') or die("skip iconv_mime_decode_headers() is not available in this build");
|
function_exists('iconv_mime_decode_headers') or die("skip iconv_mime_decode_headers() is not available in this build");
|
||||||
?>
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
Test iconv_mime_encode() function : usage variations - Pass different data types to charset arg
|
Test iconv_mime_encode() function : usage variations - Pass different data types to charset arg
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
PHP_INT_SIZE == 4 or die('skip');
|
PHP_INT_SIZE == 4 or die('skip 32-bit only');
|
||||||
extension_loaded('iconv') or die('skip');
|
extension_loaded('iconv') or die('skip iconv extension not loaded');
|
||||||
function_exists('iconv_mime_decode_headers') or die("skip iconv_mime_decode_headers() is not available in this build");
|
function_exists('iconv_mime_decode_headers') or die("skip iconv_mime_decode_headers() is not available in this build");
|
||||||
?>
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
Test iconv_mime_decode() function : usage variations - Pass different data types to mode arg
|
Test iconv_mime_decode() function : usage variations - Pass different data types to mode arg
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
PHP_INT_SIZE == 4 or die('skip');
|
PHP_INT_SIZE == 4 or die('skip 32-bit only');
|
||||||
extension_loaded('iconv') or die('skip');
|
extension_loaded('iconv') or die('skip iconv extension not loaded');
|
||||||
function_exists('iconv_mime_decode') or die("skip iconv_mime_decode() is not available in this build");
|
function_exists('iconv_mime_decode') or die("skip iconv_mime_decode() is not available in this build");
|
||||||
?>
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
get_locale() icu >= 4.8
|
get_locale() icu >= 4.8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
|
<?php if( !extension_loaded( 'intl' ) ) print 'skip intl extension not loaded'; ?>
|
||||||
<?php if(version_compare(INTL_ICU_VERSION, '4.8') < 0) print 'skip'; ?>
|
<?php if(version_compare(INTL_ICU_VERSION, '4.8') < 0) print 'skip ICU 4.8+ only'; ?>
|
||||||
<?php if (PHP_INT_SIZE != 8) die('skip 64-bit only'); ?>
|
<?php if (PHP_INT_SIZE != 8) die('skip 64-bit only'); ?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Cloning datefmt icu >= 4.8
|
Cloning datefmt icu >= 4.8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
|
<?php if( !extension_loaded( 'intl' ) ) print 'skip intl extension not loaded'; ?>
|
||||||
<?php if(version_compare(INTL_ICU_VERSION, '4.8') < 0) print 'skip'; ?>
|
<?php if(version_compare(INTL_ICU_VERSION, '4.8') < 0) print 'skip ICU 4.8+ only'; ?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
include_once( 'ut_common.inc' );
|
include_once( 'ut_common.inc' );
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
datefmt_get_pattern_code and datefmt_set_pattern_code() icu >= 4.8
|
datefmt_get_pattern_code and datefmt_set_pattern_code() icu >= 4.8
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
|
<?php if( !extension_loaded( 'intl' ) ) print 'skip intl extension not loaded'; ?>
|
||||||
<?php if(version_compare(INTL_ICU_VERSION, '4.8') < 0) print 'skip'; ?>
|
<?php if(version_compare(INTL_ICU_VERSION, '4.8') < 0) print 'skip ICU 4.8+ only'; ?>
|
||||||
--FILE--
|
--FILE--
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
if (!extension_loaded('odbc')) die('skip');
|
if (!extension_loaded('odbc')) die('skip odbc extension not loaded');
|
||||||
|
|
||||||
include 'config.inc';
|
include 'config.inc';
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<?php /* $Id$ */
|
<?php /* $Id$ */
|
||||||
|
|
||||||
if (!extension_loaded("interbase") || !extension_loaded("pdo_firebird")) print "skip";
|
if (!extension_loaded("pdo_firebird")) die('skip pdo_firebird extension not loaded');
|
||||||
|
if (!extension_loaded("interbase")) print "skip interbase extension not loaded";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
Bug #63916 PDO::PARAM_INT casts to 32bit int internally even on 64bit builds in pdo_sqlite
|
Bug #63916 PDO::PARAM_INT casts to 32bit int internally even on 64bit builds in pdo_sqlite
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (!extension_loaded('pdo_sqlite')) die('skip');
|
if (!extension_loaded('pdo_sqlite')) die('skip pdo_sqlite extension not loaded');
|
||||||
if (PHP_INT_SIZE > 4) die('skip');
|
if (PHP_INT_SIZE > 4) die('skip 32-bit only');
|
||||||
?>
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -3,7 +3,9 @@ readline_read_history() function - Error cases
|
||||||
--CREDITS--
|
--CREDITS--
|
||||||
Pedro Manoel Evangelista <pedro.evangelista at gmail dot com>
|
Pedro Manoel Evangelista <pedro.evangelista at gmail dot com>
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("readline") || !function_exists('readline_read_history') || READLINE_LIB != "libedit") die("skip"); ?>
|
<?php if (!extension_loaded("readline")) die('skip readline extension not loaded'); ?>
|
||||||
|
<?php if (!function_exists('readline_read_history')) die('skip readline_read_history function does not exist'); ?>
|
||||||
|
<?php if (!READLINE_LIB != "libedit") die('skip READLINE_LIB != "libedit"'); ?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
var_dump(readline_read_history());
|
var_dump(readline_read_history());
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
SPL: Problem with casting to string (no glob version)
|
SPL: Problem with casting to string (no glob version)
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (defined('GLOB_ERR')) print "skip";
|
if (defined('GLOB_ERR')) print "skip GLOB_ERR defined";
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$d = new DirectoryIterator('.');
|
$d = new DirectoryIterator('.');
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
Bug #63921 sqlite3::bindvalue and relative PHP functions aren't using sqlite3_*_int64 API
|
Bug #63921 sqlite3::bindvalue and relative PHP functions aren't using sqlite3_*_int64 API
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (!extension_loaded('sqlite3')) die('skip');
|
if (!extension_loaded('sqlite3')) die('skip sqlite3 extension not loaded');
|
||||||
if (PHP_INT_SIZE > 4) die('skip'); // skip for 64bit builds - there is another test for that
|
if (PHP_INT_SIZE > 4) die('skip 32-bit only'); // skip for 64bit builds - there is another test for that
|
||||||
?>
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
if (!extension_loaded('sqlite3')) {
|
if (!extension_loaded('sqlite3')) {
|
||||||
die("skip");
|
die("skip sqlite3 extension not loaded");
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -6,7 +6,7 @@ SQLite3::prepare number of rows
|
||||||
try {
|
try {
|
||||||
$method = new ReflectionMethod('sqlite3result', 'numRows');
|
$method = new ReflectionMethod('sqlite3result', 'numRows');
|
||||||
} catch (ReflectionException $e) {
|
} catch (ReflectionException $e) {
|
||||||
die("skip");
|
die("skip SQLite3Result::numRows method does not exist");
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
|
|
|
@ -3,7 +3,7 @@ Bug #65230 setting locale randomly broken
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (substr(PHP_OS, 0, 3) != 'WIN') {
|
if (substr(PHP_OS, 0, 3) != 'WIN') {
|
||||||
die('skip');
|
die('skip Windows only test');
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
--INI--
|
--INI--
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue