com php-src: skip test for ICU >= 55.1, a n ewer test is available and passes: ext/intl/tests /timezone_getDisplayName_variant3-49+.phpt

From: Date: Mon, 18 May 2015 20:37:23 +0000
Subject: com php-src: skip test for ICU >= 55.1, a n ewer test is available and passes: ext/intl/tests /timezone_getDisplayName_variant3-49+.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-86797@lists.php.net to get a copy of this message
Commit: 83f98277c2f25aa15f9d2980e0c58aa094d0392f Author: Anatol Belski <ab@php.net> Mon, 18 May 2015 22:06:15 +0200 Parents: 36584128142e4e7352e5351be5478a0d840900cc Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=83f98277c2f25aa15f9d2980e0c58aa094d0392f Log: skip test for ICU >= 55.1, a newer test is available and passes Changed paths: M ext/intl/tests/timezone_getDisplayName_variant3-49+.phpt Diff: 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 (#86797) next »