summaryrefslogtreecommitdiffstats
path: root/1365.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-11-29 14:12:40 +0100
committerRemi Collet <remi@remirepo.net>2017-11-29 14:12:40 +0100
commit3bfea45a34664dd4f0464321daacc313b8e8d62b (patch)
tree989b44cfc63fd58e30f7cf9d689cb5edc2cdf1f3 /1365.patch
parent4a5e8aba9e0a47e06d41530ce49a02a1b16361a6 (diff)
run full test suite on all arches
add patch for 32-bits from https://github.com/fzaninotto/Faker/pull/1348 add patch for big endian from https://github.com/fzaninotto/Faker/pull/1365 fix dependencies
Diffstat (limited to '1365.patch')
-rw-r--r--1365.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/1365.patch b/1365.patch
new file mode 100644
index 0000000..cd1f506
--- /dev/null
+++ b/1365.patch
@@ -0,0 +1,23 @@
+From ce3a0239c47289c8c371a67a8d7acf90ef6be7c4 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Wed, 29 Nov 2017 14:02:19 +0100
+Subject: [PATCH] skip test failing on bigendian
+
+---
+ test/Faker/Provider/UuidTest.php | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/test/Faker/Provider/UuidTest.php b/test/Faker/Provider/UuidTest.php
+index ebd4ae4c6..5c639cacc 100644
+--- a/test/Faker/Provider/UuidTest.php
++++ b/test/Faker/Provider/UuidTest.php
+@@ -16,6 +16,9 @@ public function testUuidReturnsUuid()
+
+ public function testUuidExpectedSeed()
+ {
++ if (pack('L', 0x6162797A) == pack('N', 0x6162797A)) {
++ $this->markTestSkipped('Big Endian');
++ }
+ $faker = new Generator();
+ $faker->seed(123);
+ $this->assertEquals("8e2e0c84-50dd-367c-9e66-f3ab455c78d6", BaseProvider::uuid());