From 4d6f809f4c796adbefa8d305578429fd456019bd Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Sat, 12 Apr 2014 15:42:26 +0200 Subject: [PATCH] Skiping a test that will not run in x86 --- tests/TestCase/Database/TypeTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/TestCase/Database/TypeTest.php b/tests/TestCase/Database/TypeTest.php index 711eaf05b81..c22e53c20fe 100644 --- a/tests/TestCase/Database/TypeTest.php +++ b/tests/TestCase/Database/TypeTest.php @@ -203,6 +203,10 @@ public function testIntegerToStatement() { * @return void */ public function testBigintegerToPHP() { + $this->skipIf( + isset($_SERVER['PROCESSOR_ARCHITECTURE']) && $_SERVER['PROCESSOR_ARCHITECTURE'] === 'x86', + 'This test requires a php version compiled for 64 bits' + ); $type = Type::build('biginteger'); $integer = time() * time(); $driver = $this->getMock('\Cake\Database\Driver');