Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73626 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43663 invoked from network); 7 Apr 2014 18:07:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Apr 2014 18:07:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.54 as permitted sender) X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 209.85.215.54 mail-la0-f54.google.com Received: from [209.85.215.54] ([209.85.215.54:52290] helo=mail-la0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6F/30-41229-F59E2435 for ; Mon, 07 Apr 2014 14:07:28 -0400 Received: by mail-la0-f54.google.com with SMTP id mc6so5244180lab.27 for ; Mon, 07 Apr 2014 11:07:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=Q/Hw5KU7IaSFp84bISuoIeFcMqU1SUhZMmXk/d4Q0Mw=; b=e47TvtnWeQZrBHfyTybhiNKKjWxaKB02EVlfHCszZ70Vk+CyotqZ0doPWj6HtNH19l plneW7lYVSp/koxRm1zCZ5k4QB5Hmult2CstAATpDvsIgPbxPLq8mREP82MUtQ2majp6 MRL8P5TAiYAQppLHacfMpnCj3HdRnzb1mBVcbCvXmOnUuAoEsXD8YcBRAogNqZGic43p 6p4kDgfnRXRlOlOkSO/jA3art50wPONmegtEkQMJeIkm21Wqko/aNHbgWLKW4xSuwDZA qxC7UeiVp3FIjVMzYomXXWmoFZqEvudxsP325VT15OLzWd5quUN07b2QAcrP5+AgrgQ7 T2Fw== X-Received: by 10.152.234.229 with SMTP id uh5mr27169lac.64.1396894044556; Mon, 07 Apr 2014 11:07:24 -0700 (PDT) Received: from [10.0.1.8] ([46.252.161.106]) by mx.google.com with ESMTPSA id f9sm17361938laa.8.2014.04.07.11.07.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Apr 2014 11:07:22 -0700 (PDT) Content-Type: multipart/signed; boundary="Apple-Mail=_5F071315-704C-4F4F-A3B3-4657047314FF"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) In-Reply-To: <236c21e19ca5d68d2798e4a69c60eacc.squirrel@webmail.klapt.com> Date: Mon, 7 Apr 2014 22:06:47 +0400 Cc: Ferenc Kovacs , Anatoliy Belsky , PHP Internals Message-ID: References: <236c21e19ca5d68d2798e4a69c60eacc.squirrel@webmail.klapt.com> To: Anatol Belski X-Mailer: Apple Mail (2.1874) Subject: Re: [PHP-DEV] failing intl test (ext/intl/tests/dateformat_format_variant2.phpt) From: indeyets@gmail.com (Alexey Zakhlestin) --Apple-Mail=_5F071315-704C-4F4F-A3B3-4657047314FF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 07 Apr 2014, at 19:45, Anatol Belski wrote: > Hi Ferenc, >=20 > On Mon, April 7, 2014 14:48, Ferenc Kovacs wrote: >> Hi, >>=20 >>=20 >> I have never managed to make this test pass for me, even thought that = I >> was trying with different ICU versions. I'm currently testing with = ICU 52.1 >> from homebrew on Mavericks and with the same ICU version on debian = wheezy >> and it fails with the same diff: >>=20 >> 209+ 'timezone_type' =3D> 2,^M >> 210+ 'timezone' =3D> 'PDT',^M >> 209- 'timezone_type' =3D> 3,^M >> 210- 'timezone' =3D> 'America/Los_Angeles',^M >> 217+ 'timezone_type' =3D> 2,^M >> 218+ 'timezone' =3D> 'PDT',^M >> 217- 'timezone_type' =3D> 3,^M >> 218- 'timezone' =3D> 'America/Los_Angeles',^M >> 225+ 'timezone_type' =3D> 2,^M >> 226+ 'timezone' =3D> 'PDT',^M >> 225- 'timezone_type' =3D> 3,^M >> 226- 'timezone' =3D> 'America/Los_Angeles',^M >> 233+ 'timezone_type' =3D> 2,^M >> 234+ 'timezone' =3D> 'PDT',^M >> 233- 'timezone_type' =3D> 3,^M >> 234- 'timezone' =3D> 'America/Los_Angeles',^M >> 241+ 'timezone_type' =3D> 2,^M >> 242+ 'timezone' =3D> 'PDT',^M >> 241- 'timezone_type' =3D> 3,^M >> 242- 'timezone' =3D> 'America/Los_Angeles', >>=20 >>=20 >> Could anybody who has this test passing tell me what ICU version are = you >> testing with? >>=20 >> -- >> Ferenc Kov=E1cs >> @Tyr43l - http://tyrael.hu >>=20 >>=20 > I've forked this one into = ext/intl/tests/dateformat_format_variant3.phpt > and adjusted the output for 52.1. The variant 2 is worky with at least = ICI > 51.2, i've added the corresponding condition to the skipif. Looks like > this change happens somewhere between ICU 51.2 and 52. well=85 the question is: should something like this be tested anyway? tests should cover things which are guaranteed to work specific way by = us, not by external libraries. --=20 Alexey Zakhlestin CTO at Grids.by/you https://github.com/indeyets PGP key: http://indeyets.ru/alexey.zakhlestin.pgp.asc --Apple-Mail=_5F071315-704C-4F4F-A3B3-4657047314FF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQEcBAEBCgAGBQJTQulYAAoJEMkJcRxZdR27uioH/3Czy6Pi3nMcpvOKwTqS5fzS HjfMtuDV+h6SW8K4gzsoRS4xfOuYHcFWeAJs9AaVKazqJtOZL8NB31J2qxQSblG8 dBZPBKNaN+Pccd0rr7zgJzAg6vU9rZXf979BfRYzovWFCkDeork8tct0jDkx3VnR 7B4ZiH6VR2KBjFNbrYeuftWlR4vwaNW11a1VO/sWyBJPDucmEHE2qL/paUKB0tgJ 0lAvAebEmktP9AyS1dVX3BIggoeJwmaOjzZ+2SIC1N7HuXthJonBwUtwkCDxHM9y kHugXfNIk9UoxVebyCpTpaTx61G4S/7qUWjYRpuT95oBrnVgyHtWJ2dOo7GB2yQ= =0bDc -----END PGP SIGNATURE----- --Apple-Mail=_5F071315-704C-4F4F-A3B3-4657047314FF--