mirror of
https://github.com/php/php-src.git
synced 2024-12-04 23:34:25 +08:00
Do not run tests if iconv extension is unavailable.
This commit is contained in:
parent
a0c8d5d80a
commit
9490f1c847
@ -2,7 +2,7 @@
|
||||
Bug #16069
|
||||
--SKIPIF--
|
||||
<?php
|
||||
/* include( 'skipif.inc' ); */
|
||||
include( 'skipif.inc' );
|
||||
if (@iconv('CP932', 'EUC-JP//TRANSLIT', "\x87\x6d")=='') {
|
||||
die("skip CP932 to EUC-JP translit not available\n");
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
EUC-JP to ISO-2022-JP
|
||||
--SKIPIF--
|
||||
<?php /* include('skipif.inc'); */ ?>
|
||||
<?php include('skipif.inc'); ?>
|
||||
--INI--
|
||||
error_reporting=2039
|
||||
--FILE--
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
EUC-JP to SJIS
|
||||
--SKIPIF--
|
||||
<?php /* include('skipif.inc'); */ ?>
|
||||
<?php include('skipif.inc'); ?>
|
||||
--INI--
|
||||
error_reporting=2039
|
||||
--FILE--
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
EUC-JP to UTF8
|
||||
--SKIPIF--
|
||||
<?php /* include('skipif.inc'); */ ?>
|
||||
<?php include('skipif.inc'); ?>
|
||||
--INI--
|
||||
error_reporting=2039
|
||||
--FILE--
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
iconv() test 1
|
||||
--SKIPIF--
|
||||
<?php /* include('skipif.inc'); */ ?>
|
||||
<?php include('skipif.inc'); ?>
|
||||
--INI--
|
||||
error_reporting=2039
|
||||
--FILE--
|
||||
|
@ -2,7 +2,7 @@
|
||||
iconv() test 2 (UCS4BE to ASCII)
|
||||
--SKIPIF--
|
||||
<?php
|
||||
/* include('skipif.inc'); */
|
||||
include('skipif.inc');
|
||||
if (@iconv("ascii","UCS-4LE", "abcd") == '') {
|
||||
die("skip conversion to UCS-4LE not supported");
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
ob_iconv_handler()
|
||||
--SKIPIF--
|
||||
<?php /* include('skipif.inc'); */ ?>
|
||||
<?php include('skipif.inc'); ?>
|
||||
--INI--
|
||||
error_reporting=2039
|
||||
--FILE--
|
||||
|
@ -2,7 +2,7 @@
|
||||
Translit failure
|
||||
--SKIPIF--
|
||||
<?php
|
||||
/* include('skipif.inc'); */
|
||||
include('skipif.inc');
|
||||
( ICONV_IMPL != "libiconv" ) and die("skip ICONV_IMPL != \"libiconv\"");
|
||||
?>
|
||||
--INI--
|
||||
|
@ -2,7 +2,7 @@
|
||||
Translit UTF-8 quotes
|
||||
--SKIPIF--
|
||||
<?php
|
||||
/* include('skipif.inc'); */
|
||||
include('skipif.inc');
|
||||
( ICONV_IMPL != "libiconv" ) and die("skip ICONV_IMPL != \"libiconv\"");
|
||||
?>
|
||||
--INI--
|
||||
|
Loading…
Reference in New Issue
Block a user