Skip 64 bit MWMessagePack tests on 32 bit machines
authorThiemo Mättig <thiemo.maettig@wikimedia.de>
Wed, 9 Jul 2014 15:21:40 +0000 (17:21 +0200)
committerThiemo Mättig <thiemo.maettig@wikimedia.de>
Wed, 9 Jul 2014 15:21:40 +0000 (17:21 +0200)
commitceb196fa9f7dbc4da6e2c5c3adb4f7f13dd75d7a
treeec761ab1f969d7dfeb778c7799061dc39e2cf879
parent7b488f64ee6f0ed3ce1c5ede62c25e756a8840e0
Skip 64 bit MWMessagePack tests on 32 bit machines

It's not only Windows. I have an Ubuntu machine with a PHP setup
limited to 32 bit (which is totally fine, it allows me to develop
and always stay compatible to Windows and other 32 bit environments).

I don't see an other way than to skip these tests on a 32 bit
machine. The loss (PHP clips values larger than 2147483647 to
2147483647) does not happen in the code that is tested but in the
test setup.

Change-Id: Ie9a173c0a92ed84eaaea981a25ba130f2eca169e
tests/phpunit/includes/libs/MWMessagePackTest.php