moriyoshi Fri Oct 11 14:07:47 2002 EDT Modified files: /php4/ext/iconv/tests translit-failure.phpt translit-utf8.phpt Log: Improved the test cases so that they will be skipped rather than failed, if libiconv is not used. Index: php4/ext/iconv/tests/translit-failure.phpt diff -u php4/ext/iconv/tests/translit-failure.phpt:1.3 php4/ext/iconv/tests/translit-failure.phpt:1.4 --- php4/ext/iconv/tests/translit-failure.phpt:1.3 Fri Oct 11 09:43:24 2002 +++ php4/ext/iconv/tests/translit-failure.phpt Fri Oct 11 14:07:47 2002 @@ -1,7 +1,10 @@ --TEST-- Translit failure --SKIPIF-- -<?php include('skipif.inc'); ?> +<?php +include('skipif.inc'); +( ICONV_IMPL != "libiconv" ) and die("skip"); +?> --FILE-- <?php // Should be ok. Index: php4/ext/iconv/tests/translit-utf8.phpt diff -u php4/ext/iconv/tests/translit-utf8.phpt:1.2 php4/ext/iconv/tests/translit-utf8.phpt:1.3 --- php4/ext/iconv/tests/translit-utf8.phpt:1.2 Thu Oct 10 12:49:33 2002 +++ php4/ext/iconv/tests/translit-utf8.phpt Fri Oct 11 14:07:47 2002 @@ -1,7 +1,10 @@ --TEST-- Translit UTF-8 quotes --SKIPIF-- -<?php include('skipif.inc'); ?> +<?php +include('skipif.inc'); +( ICONV_IMPL != "libiconv" ) and die("skip"); +?> --FILE-- <?php include('translit-utf8.inc'); ?> --EXPECT--
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php