dmitry Tue Jul 10 10:21:08 2007 UTC
Modified files:
/php-src/tests/unicode autodetect-SCSU.phpt autodetect-UTF16BE.phpt
autodetect-UTF16LE.phpt
autodetect-UTF32BE.phpt
autodetect-UTF32LE.phpt autodetect-UTF7.phpt
autodetect-UTF8.phpt enc-HZ.phpt
enc-ISO-2022-KR.phpt enc-JIS.phpt
enc-SJIS.phpt encrt-HZ.phpt
encrt-ISO-2022-KR.phpt encrt-JIS.phpt
encrt-SJIS.phpt normalize_001.phpt
normalize_002.phpt normalize_003.phpt
normalize_004.phpt
Log:
Skip unicode tests in non-unicode mode
http://cvs.php.net/viewvc.cgi/php-src/tests/unicode/autodetect-SCSU.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/unicode/autodetect-SCSU.phpt
diff -u php-src/tests/unicode/autodetect-SCSU.phpt:1.2
php-src/tests/unicode/autodetect-SCSU.phpt:1.3
--- php-src/tests/unicode/autodetect-SCSU.phpt:1.2 Wed Jun 28 15:07:14 2006
+++ php-src/tests/unicode/autodetect-SCSU.phpt Tue Jul 10 10:21:08 2007
@@ -1,7 +1,8 @@
--TEST--
Script encoding autodetection (SCSU)
+--SKIPIF--
+<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--INI--
-unicode.semantics=on
unicode.output_encoding=CP866
--FILE--
<?php
http://cvs.php.net/viewvc.cgi/php-src/tests/unicode/autodetect-UTF16BE.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/unicode/autodetect-UTF16BE.phpt
diff -u php-src/tests/unicode/autodetect-UTF16BE.phpt:1.2
php-src/tests/unicode/autodetect-UTF16BE.phpt:1.3
--- php-src/tests/unicode/autodetect-UTF16BE.phpt:1.2 Wed Jun 28 15:07:14 2006
+++ php-src/tests/unicode/autodetect-UTF16BE.phpt Tue Jul 10 10:21:08 2007
@@ -1,7 +1,8 @@
--TEST--
Script encoding autodetection (UTF-16BE)
+--SKIPIF--
+<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--INI--
-unicode.semantics=on
unicode.output_encoding=CP866
--FILE--
<?php
http://cvs.php.net/viewvc.cgi/php-src/tests/unicode/autodetect-UTF16LE.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/unicode/autodetect-UTF16LE.phpt
diff -u php-src/tests/unicode/autodetect-UTF16LE.phpt:1.2
php-src/tests/unicode/autodetect-UTF16LE.phpt:1.3
--- php-src/tests/unicode/autodetect-UTF16LE.phpt:1.2 Wed Jun 28 15:07:14 2006
+++ php-src/tests/unicode/autodetect-UTF16LE.phpt Tue Jul 10 10:21:08 2007
@@ -1,7 +1,8 @@
--TEST--
Script encoding autodetection (UTF-16LE)
+--SKIPIF--
+<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--INI--
-unicode.semantics=on
unicode.output_encoding=CP866
--FILE--
<?php
http://cvs.php.net/viewvc.cgi/php-src/tests/unicode/autodetect-UTF32BE.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/unicode/autodetect-UTF32BE.phpt
diff -u php-src/tests/unicode/autodetect-UTF32BE.phpt:1.2
php-src/tests/unicode/autodetect-UTF32BE.phpt:1.3
--- php-src/tests/unicode/autodetect-UTF32BE.phpt:1.2 Wed Jun 28 15:07:14 2006
+++ php-src/tests/unicode/autodetect-UTF32BE.phpt Tue Jul 10 10:21:08 2007
@@ -1,7 +1,8 @@
--TEST--
Script encoding autodetection (UTF-32BE)
+--SKIPIF--
+<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--INI--
-unicode.semantics=on
unicode.output_encoding=CP866
--FILE--
<?php
http://cvs.php.net/viewvc.cgi/php-src/tests/unicode/autodetect-UTF32LE.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/unicode/autodetect-UTF32LE.phpt
diff -u php-src/tests/unicode/autodetect-UTF32LE.phpt:1.2
php-src/tests/unicode/autodetect-UTF32LE.phpt:1.3
--- php-src/tests/unicode/autodetect-UTF32LE.phpt:1.2 Wed Jun 28 15:07:14 2006
+++ php-src/tests/unicode/autodetect-UTF32LE.phpt Tue Jul 10 10:21:08 2007
@@ -1,7 +1,8 @@
--TEST--
Script encoding autodetection (UTF-32LE)
+--SKIPIF--
+<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--INI--
-unicode.semantics=on
unicode.output_encoding=CP866
--FILE--
<?php
http://cvs.php.net/viewvc.cgi/php-src/tests/unicode/autodetect-UTF7.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/unicode/autodetect-UTF7.phpt
diff -u php-src/tests/unicode/autodetect-UTF7.phpt:1.2
php-src/tests/unicode/autodetect-UTF7.phpt:1.3
--- php-src/tests/unicode/autodetect-UTF7.phpt:1.2 Wed Jun 28 15:07:14 2006
+++ php-src/tests/unicode/autodetect-UTF7.phpt Tue Jul 10 10:21:08 2007
@@ -1,7 +1,8 @@
--TEST--
Script encoding autodetection (UTF7)
+--SKIPIF--
+<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--INI--
-unicode.semantics=on
unicode.output_encoding=CP866
--FILE--
<?php
http://cvs.php.net/viewvc.cgi/php-src/tests/unicode/autodetect-UTF8.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/unicode/autodetect-UTF8.phpt
diff -u php-src/tests/unicode/autodetect-UTF8.phpt:1.2
php-src/tests/unicode/autodetect-UTF8.phpt:1.3
--- php-src/tests/unicode/autodetect-UTF8.phpt:1.2 Wed Jun 28 15:07:14 2006
+++ php-src/tests/unicode/autodetect-UTF8.phpt Tue Jul 10 10:21:08 2007
@@ -1,7 +1,8 @@
--TEST--
Script encoding autodetection (UTF8)
+--SKIPIF--
+<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--INI--
-unicode.semantics=on
unicode.output_encoding=CP866
--FILE--
<?php
http://cvs.php.net/viewvc.cgi/php-src/tests/unicode/enc-HZ.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/unicode/enc-HZ.phpt
diff -u php-src/tests/unicode/enc-HZ.phpt:1.2
php-src/tests/unicode/enc-HZ.phpt:1.3
--- php-src/tests/unicode/enc-HZ.phpt:1.2 Wed Jun 28 15:07:14 2006
+++ php-src/tests/unicode/enc-HZ.phpt Tue Jul 10 10:21:08 2007
@@ -1,7 +1,8 @@
--TEST--
Script encoding (HZ)
+--SKIPIF--
+<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--INI--
-unicode.semantics=on
unicode.output_encoding=CP866
--FILE--
<?php
http://cvs.php.net/viewvc.cgi/php-src/tests/unicode/enc-ISO-2022-KR.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/unicode/enc-ISO-2022-KR.phpt
diff -u php-src/tests/unicode/enc-ISO-2022-KR.phpt:1.2
php-src/tests/unicode/enc-ISO-2022-KR.phpt:1.3
--- php-src/tests/unicode/enc-ISO-2022-KR.phpt:1.2 Wed Jun 28 15:07:14 2006
+++ php-src/tests/unicode/enc-ISO-2022-KR.phpt Tue Jul 10 10:21:08 2007
@@ -1,7 +1,8 @@
--TEST--
Script encoding (ISO-2022-KR)
+--SKIPIF--
+<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--INI--
-unicode.semantics=on
unicode.output_encoding=CP866
--FILE--
<?php
http://cvs.php.net/viewvc.cgi/php-src/tests/unicode/enc-JIS.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/unicode/enc-JIS.phpt
diff -u php-src/tests/unicode/enc-JIS.phpt:1.2
php-src/tests/unicode/enc-JIS.phpt:1.3
--- php-src/tests/unicode/enc-JIS.phpt:1.2 Wed Jun 28 15:07:14 2006
+++ php-src/tests/unicode/enc-JIS.phpt Tue Jul 10 10:21:08 2007
@@ -1,7 +1,8 @@
--TEST--
Script encoding (JIS)
+--SKIPIF--
+<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--INI--
-unicode.semantics=on
unicode.output_encoding=CP866
--FILE--
<?php
http://cvs.php.net/viewvc.cgi/php-src/tests/unicode/enc-SJIS.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/unicode/enc-SJIS.phpt
diff -u php-src/tests/unicode/enc-SJIS.phpt:1.2
php-src/tests/unicode/enc-SJIS.phpt:1.3
--- php-src/tests/unicode/enc-SJIS.phpt:1.2 Wed Jun 28 15:07:14 2006
+++ php-src/tests/unicode/enc-SJIS.phpt Tue Jul 10 10:21:08 2007
@@ -1,7 +1,8 @@
--TEST--
Script encoding (SJIS)
+--SKIPIF--
+<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--INI--
-unicode.semantics=on
unicode.output_encoding=CP866
--FILE--
<?php
http://cvs.php.net/viewvc.cgi/php-src/tests/unicode/encrt-HZ.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/unicode/encrt-HZ.phpt
diff -u php-src/tests/unicode/encrt-HZ.phpt:1.2
php-src/tests/unicode/encrt-HZ.phpt:1.3
--- php-src/tests/unicode/encrt-HZ.phpt:1.2 Wed Jun 28 15:07:14 2006
+++ php-src/tests/unicode/encrt-HZ.phpt Tue Jul 10 10:21:08 2007
@@ -1,7 +1,8 @@
--TEST--
declare script encoding (HZ)
+--SKIPIF--
+<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--INI--
-unicode.semantics=on
unicode.output_encoding=CP866
--FILE--
<?php
http://cvs.php.net/viewvc.cgi/php-src/tests/unicode/encrt-ISO-2022-KR.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/unicode/encrt-ISO-2022-KR.phpt
diff -u php-src/tests/unicode/encrt-ISO-2022-KR.phpt:1.2
php-src/tests/unicode/encrt-ISO-2022-KR.phpt:1.3
--- php-src/tests/unicode/encrt-ISO-2022-KR.phpt:1.2 Wed Jun 28 15:07:14 2006
+++ php-src/tests/unicode/encrt-ISO-2022-KR.phpt Tue Jul 10 10:21:08 2007
@@ -1,7 +1,8 @@
--TEST--
declare script encoding (ISO-2022-KR)
+--SKIPIF--
+<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--INI--
-unicode.semantics=on
unicode.output_encoding=CP866
--FILE--
<?php
http://cvs.php.net/viewvc.cgi/php-src/tests/unicode/encrt-JIS.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/unicode/encrt-JIS.phpt
diff -u php-src/tests/unicode/encrt-JIS.phpt:1.2
php-src/tests/unicode/encrt-JIS.phpt:1.3
--- php-src/tests/unicode/encrt-JIS.phpt:1.2 Wed Jun 28 15:07:14 2006
+++ php-src/tests/unicode/encrt-JIS.phpt Tue Jul 10 10:21:08 2007
@@ -1,7 +1,8 @@
--TEST--
declare script encoding (JIS)
+--SKIPIF--
+<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--INI--
-unicode.semantics=on
unicode.output_encoding=CP866
--FILE--
<?php
http://cvs.php.net/viewvc.cgi/php-src/tests/unicode/encrt-SJIS.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/unicode/encrt-SJIS.phpt
diff -u php-src/tests/unicode/encrt-SJIS.phpt:1.2
php-src/tests/unicode/encrt-SJIS.phpt:1.3
--- php-src/tests/unicode/encrt-SJIS.phpt:1.2 Wed Jun 28 15:07:14 2006
+++ php-src/tests/unicode/encrt-SJIS.phpt Tue Jul 10 10:21:08 2007
@@ -1,7 +1,8 @@
--TEST--
declare script encoding (SJIS)
+--SKIPIF--
+<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--INI--
-unicode.semantics=on
unicode.output_encoding=CP866
--FILE--
<?php
http://cvs.php.net/viewvc.cgi/php-src/tests/unicode/normalize_001.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/unicode/normalize_001.phpt
diff -u php-src/tests/unicode/normalize_001.phpt:1.2
php-src/tests/unicode/normalize_001.phpt:1.3
--- php-src/tests/unicode/normalize_001.phpt:1.2 Wed Jun 28 15:07:14 2006
+++ php-src/tests/unicode/normalize_001.phpt Tue Jul 10 10:21:08 2007
@@ -1,7 +1,7 @@
--TEST--
Unicode identifiers normalization (${})
---INI--
-unicode.semantics=on
+--SKIPIF--
+<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--FILE--
<?php
${"\u212B"} = "ok\n";
http://cvs.php.net/viewvc.cgi/php-src/tests/unicode/normalize_002.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/unicode/normalize_002.phpt
diff -u php-src/tests/unicode/normalize_002.phpt:1.2
php-src/tests/unicode/normalize_002.phpt:1.3
--- php-src/tests/unicode/normalize_002.phpt:1.2 Wed Jun 28 15:07:14 2006
+++ php-src/tests/unicode/normalize_002.phpt Tue Jul 10 10:21:08 2007
@@ -1,7 +1,7 @@
--TEST--
Unicode identifiers normalization ($$)
---INI--
-unicode.semantics=on
+--SKIPIF--
+<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--FILE--
<?php
$a = "\u212B";
http://cvs.php.net/viewvc.cgi/php-src/tests/unicode/normalize_003.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/unicode/normalize_003.phpt
diff -u php-src/tests/unicode/normalize_003.phpt:1.2
php-src/tests/unicode/normalize_003.phpt:1.3
--- php-src/tests/unicode/normalize_003.phpt:1.2 Wed Jun 28 15:07:14 2006
+++ php-src/tests/unicode/normalize_003.phpt Tue Jul 10 10:21:08 2007
@@ -1,7 +1,7 @@
--TEST--
Unicode identifiers normalization (indirect function call)
---INI--
-unicode.semantics=on
+--SKIPIF--
+<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--FILE--
<?php
declare(encoding = "ISO-8859-1");
http://cvs.php.net/viewvc.cgi/php-src/tests/unicode/normalize_004.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/unicode/normalize_004.phpt
diff -u php-src/tests/unicode/normalize_004.phpt:1.2
php-src/tests/unicode/normalize_004.phpt:1.3
--- php-src/tests/unicode/normalize_004.phpt:1.2 Wed Jun 28 15:07:14 2006
+++ php-src/tests/unicode/normalize_004.phpt Tue Jul 10 10:21:08 2007
@@ -1,7 +1,7 @@
--TEST--
Unicode identifiers normalization ($GLOBALS[])
---INI--
-unicode.semantics=on
+--SKIPIF--
+<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--FILE--
<?php
$GLOBALS["\u212B"] = "ok\n";
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php