From: Ilia Alshanetsky Date: Thu, 14 Nov 2002 14:19:03 +0000 (+0000) Subject: MFH (skip conditions for tests) X-Git-Tag: php-4.3.0RC1~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bcaf76676844cf48dffb0efc0added0fa5946797;p=php MFH (skip conditions for tests) --- diff --git a/ext/mbstring/tests/mb_send_mail05.phpt b/ext/mbstring/tests/mb_send_mail05.phpt index 245da08eb2..b36b41813e 100644 --- a/ext/mbstring/tests/mb_send_mail05.phpt +++ b/ext/mbstring/tests/mb_send_mail05.phpt @@ -5,6 +5,9 @@ mb_send_mail() test 5 (lang=Simplified Chinese) if (@mb_send_mail() === false || !mb_language("Simplified Chinese")) { die("skip mb_send_mail() not available"); } +if (!@mb_internal_encoding('GB2312')) { + die("skip GB2312 encoding is not avaliable on this platform"); +} ?> --INI-- sendmail_path=cat diff --git a/ext/mbstring/tests/mb_send_mail06.phpt b/ext/mbstring/tests/mb_send_mail06.phpt index f14a15c9ab..b8dafe58cc 100644 --- a/ext/mbstring/tests/mb_send_mail06.phpt +++ b/ext/mbstring/tests/mb_send_mail06.phpt @@ -5,6 +5,9 @@ mb_send_mail() test 6 (lang=Traditional Chinese) if (@mb_send_mail() === false || !mb_language("Traditional Chinese")) { die("skip mb_send_mail() not available"); } +if (!@mb_internal_encoding('BIG5')) { + die("skip BIG5 encoding is not avaliable on this platform"); +} ?> --INI-- sendmail_path=cat diff --git a/ext/mbstring/tests/overload.phpt b/ext/mbstring/tests/overload.phpt index 3e1fc44bf7..ee745f58fe 100644 --- a/ext/mbstring/tests/overload.phpt +++ b/ext/mbstring/tests/overload.phpt @@ -1,7 +1,12 @@ --TEST-- Function overloading test (said to be harmful) --SKIPIF-- - + --INI-- output_handler= mbstring.func_overload=7