com php-src: Fix intl tests for ICU < 52: ext/intl/tests/timezo ne_IDforWindowsID_basic.phpt ext/intl/tests/timezone_ windowsID_basic.phpt

From: Date: Wed, 20 Apr 2016 17:43:15 +0000
Subject: com php-src: Fix intl tests for ICU < 52: ext/intl/tests/timezo ne_IDforWindowsID_basic.phpt ext/intl/tests/timezone_ windowsID_basic.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-91803@lists.php.net to get a copy of this message
Commit: dc3ab58c14cb58e33b8a0c5c7a181846eb8b4ff3 Author: Nikita Popov <nikic@php.net> Wed, 20 Apr 2016 19:43:15 +0200 Parents: 0beb6d17e4aef5f5859461e78b561f8411088d1e Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=dc3ab58c14cb58e33b8a0c5c7a181846eb8b4ff3 Log: Fix intl tests for ICU < 52 Changed paths: M ext/intl/tests/timezone_IDforWindowsID_basic.phpt M ext/intl/tests/timezone_windowsID_basic.phpt Diff: diff --git a/ext/intl/tests/timezone_IDforWindowsID_basic.phpt b/ext/intl/tests/timezone_IDforWindowsID_basic.phpt index 2fab10f..4127d8e 100644 --- a/ext/intl/tests/timezone_IDforWindowsID_basic.phpt +++ b/ext/intl/tests/timezone_IDforWindowsID_basic.phpt @@ -4,6 +4,8 @@ IntlTimeZone::getIDForWindowsID basic test <?php if (!extension_loaded('intl')) die('skip intl extension not enabled'); +if (version_compare(INTL_ICU_VERSION, '52') < 0) + die('skip for ICU >= 52'); --FILE-- <?php diff --git a/ext/intl/tests/timezone_windowsID_basic.phpt b/ext/intl/tests/timezone_windowsID_basic.phpt index 8a9fcfe..dd48f01 100644 --- a/ext/intl/tests/timezone_windowsID_basic.phpt +++ b/ext/intl/tests/timezone_windowsID_basic.phpt @@ -4,6 +4,8 @@ IntlTimeZone::getWindowsID basic test <?php if (!extension_loaded('intl')) die('skip intl extension not enabled'); +if (version_compare(INTL_ICU_VERSION, '52') < 0) + die('skip for ICU >= 52'); --FILE-- <?php

« previous php.cvs (#91803) next »