com php-src: sync skipifs for ext/intl for ICU 55_* and 56_* compat: ext/intl/tests/collator_get_sor t_key_variant4.phpt
ext/intl/tests/dateformat_forma tObject_calendar_variant4.phpt ext/intl/tests/datefor mat_formatObject_datetime_variant4.phpt ext/intl/te
sts/dateformat_get_set_timezone_variant4.phpt ext /intl/tests/formatter_format5.phpt ext/intl/tests/forma tter_get_set_text_attribute.phpt
ext/intl/tests/spo ofchecker_004.phpt ext/intl/tests/timezo

From: Date: Fri, 01 Jan 2016 19:13:35 +0000
Subject: com php-src: sync skipifs for ext/intl for ICU 55_* and 56_* compat: ext/intl/tests/collator_get_sor t_key_variant4.phpt
ext/intl/tests/dateformat_forma tObject_calendar_variant4.phpt ext/intl/tests/datefor mat_formatObject_datetime_variant4.phpt ext/intl/te
sts/dateformat_get_set_timezone_variant4.phpt ext /intl/tests/formatter_format5.phpt ext/intl/tests/forma tter_get_set_text_attribute.phpt
ext/intl/tests/spo ofchecker_004.phpt ext/intl/tests/timezo
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-90493@lists.php.net to get a copy of this message
Commit: 6bcf4b4f408b85fe3d242342c86a3fd30376dc20 Author: Anatol Belski <ab@php.net> Fri, 1 Jan 2016 20:13:35 +0100 Parents: 49493a2dcfb2cd1758b69b13d9006ead3be0e066 Branches: PHP-5.6 PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6bcf4b4f408b85fe3d242342c86a3fd30376dc20 Log: sync skipifs for ext/intl for ICU 55_* and 56_* compat Changed paths: M ext/intl/tests/collator_get_sort_key_variant4.phpt M ext/intl/tests/dateformat_formatObject_calendar_variant4.phpt M ext/intl/tests/dateformat_formatObject_datetime_variant4.phpt M ext/intl/tests/dateformat_get_set_timezone_variant4.phpt M ext/intl/tests/formatter_format5.phpt M ext/intl/tests/formatter_get_set_text_attribute.phpt M ext/intl/tests/spoofchecker_004.phpt M ext/intl/tests/timezone_getDisplayName_variant3-49+.phpt Diff: diff --git a/ext/intl/tests/collator_get_sort_key_variant4.phpt b/ext/intl/tests/collator_get_sort_key_variant4.phpt index 2c86f21..bd7af6a 100644 --- a/ext/intl/tests/collator_get_sort_key_variant4.phpt +++ b/ext/intl/tests/collator_get_sort_key_variant4.phpt @@ -2,6 +2,7 @@ collator_get_sort_key() icu >= 54.1 --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php if (version_compare(INTL_ICU_VERSION, '55.1') >= 0) die('skip for ICU < 55.1'); ?> <?php if (version_compare(INTL_ICU_VERSION, '54.1') < 0) die('skip for ICU >= 54.1'); ?> --FILE-- <?php diff --git a/ext/intl/tests/dateformat_formatObject_calendar_variant4.phpt b/ext/intl/tests/dateformat_formatObject_calendar_variant4.phpt index 2ca57c2..d857aa2 100644 --- a/ext/intl/tests/dateformat_formatObject_calendar_variant4.phpt +++ b/ext/intl/tests/dateformat_formatObject_calendar_variant4.phpt @@ -3,6 +3,7 @@ IntlDateFormatter::formatObject(): IntlCalendar tests --SKIPIF-- <?php if (!extension_loaded('intl')) die('skip intl extension not enabled'); ?> +<?php if (version_compare(INTL_ICU_VERSION, '55.1') >= 0) die('skip for ICU < 55.1'); ?> <?php if (version_compare(INTL_ICU_VERSION, '54.1') < 0) die('skip for ICU >= 54.1'); ?> --FILE-- <?php diff --git a/ext/intl/tests/dateformat_formatObject_datetime_variant4.phpt b/ext/intl/tests/dateformat_formatObject_datetime_variant4.phpt index c47e2b5..46d1c8b 100644 --- a/ext/intl/tests/dateformat_formatObject_datetime_variant4.phpt +++ b/ext/intl/tests/dateformat_formatObject_datetime_variant4.phpt @@ -3,6 +3,7 @@ IntlDateFormatter::formatObject(): DateTime tests --SKIPIF-- <?php if (!extension_loaded('intl')) die('skip intl extension not enabled'); ?> +<?php if (version_compare(INTL_ICU_VERSION, '55.1') >= 0) die('skip for ICU < 55.1'); ?> <?php if (version_compare(INTL_ICU_VERSION, '54.1') < 0) die('skip for ICU >= 54.1'); ?> --FILE-- <?php diff --git a/ext/intl/tests/dateformat_get_set_timezone_variant4.phpt b/ext/intl/tests/dateformat_get_set_timezone_variant4.phpt index adedd74..27babf3 100644 --- a/ext/intl/tests/dateformat_get_set_timezone_variant4.phpt +++ b/ext/intl/tests/dateformat_get_set_timezone_variant4.phpt @@ -3,6 +3,7 @@ IntlDateFormatter: get/setTimeZone() --SKIPIF-- <?php if (!extension_loaded('intl')) die('skip intl extension not enabled'); ?> +<?php if (version_compare(INTL_ICU_VERSION, '55.1') >= 0) die('skip for ICU < 55.1'); ?> <?php if (version_compare(INTL_ICU_VERSION, '54.1') < 0) die('skip for ICU >= 54.1'); ?> --FILE-- <?php diff --git a/ext/intl/tests/formatter_format5.phpt b/ext/intl/tests/formatter_format5.phpt index cbaf140..3028f63 100644 --- a/ext/intl/tests/formatter_format5.phpt +++ b/ext/intl/tests/formatter_format5.phpt @@ -2,6 +2,7 @@ numfmt_format() icu >= 54.1 --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php if (version_compare(INTL_ICU_VERSION, '56.1') >= 0) die('skip for ICU < 56.1'); ?> <?php if (version_compare(INTL_ICU_VERSION, '54.1') < 0) die('skip for ICU >= 54.1'); ?> --FILE-- <?php diff --git a/ext/intl/tests/formatter_get_set_text_attribute.phpt b/ext/intl/tests/formatter_get_set_text_attribute.phpt index 539ff52..99e278e 100644 --- a/ext/intl/tests/formatter_get_set_text_attribute.phpt +++ b/ext/intl/tests/formatter_get_set_text_attribute.phpt @@ -2,6 +2,7 @@ numfmt_get/set_text_attribute() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php if (version_compare(INTL_ICU_VERSION, '56.1') >= 0) die('skip for ICU < 56.1'); ?> --FILE-- <?php diff --git a/ext/intl/tests/spoofchecker_004.phpt b/ext/intl/tests/spoofchecker_004.phpt index b38c61d..a26b392 100644 --- a/ext/intl/tests/spoofchecker_004.phpt +++ b/ext/intl/tests/spoofchecker_004.phpt @@ -2,6 +2,7 @@ spoofchecker with settings changed --SKIPIF-- <?php if(!extension_loaded('intl') || !class_exists("Spoofchecker")) print 'skip'; ?> +<?php if (version_compare(INTL_ICU_VERSION, '55.1') >= 0) die('skip for ICU < 55.1'); ?> --FILE-- <?php diff --git a/ext/intl/tests/timezone_getDisplayName_variant3-49+.phpt b/ext/intl/tests/timezone_getDisplayName_variant3-49+.phpt index e90cc47..e67fcab 100644 --- a/ext/intl/tests/timezone_getDisplayName_variant3-49+.phpt +++ b/ext/intl/tests/timezone_getDisplayName_variant3-49+.phpt @@ -1,11 +1,9 @@ --TEST-- IntlTimeZone::getDisplayName(): locale parameter --SKIPIF-- -<?php -if (!extension_loaded('intl')) - die('skip intl extension not enabled'); -if (version_compare(INTL_ICU_VERSION, '49') < 0) - die('skip for ICU 49+'); +<?php if (!extension_loaded('intl')) die('skip intl extension not enabled'); ?> +<?php if (version_compare(INTL_ICU_VERSION, '49') < 0) die('skip for ICU >= 49'); ?> +<?php if (version_compare(INTL_ICU_VERSION, '55.1') >= 0) die('skip for ICU < 55.1'); ?> --FILE-- <?php ini_set("intl.error_level", E_WARNING);

« previous php.cvs (#90493) next »