diff options
author | Remi Collet <remi@remirepo.net> | 2021-03-26 16:29:34 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-03-26 16:29:34 +0100 |
commit | 4389c69975a1759740ab79dc5b5a1efebe782ee3 (patch) | |
tree | 33f558a7361bb25489e24b610f483f0d2c3adaef | |
parent | 3b51390e152c1fd376abf470e6db3ee606a07e5a (diff) |
-rw-r--r-- | php-Faker.spec | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/php-Faker.spec b/php-Faker.spec index d71f8f4..cd488f6 100644 --- a/php-Faker.spec +++ b/php-Faker.spec @@ -154,6 +154,13 @@ EOF sed 's/function testFixedSeedWithMaximumTimestamp/function SKIP_testFixedSeedWithMaximumTimestamp/' \ -i test/Faker/Provider/DateTimeTest.php +if php -r 'exit(PHP_INT_SIZE<8 ? 0 : 1);' +then + # strtotime(): Epoch doesn't fit in a PHP integer + rm test/Faker/Provider/ro_RO/PersonTest.php + rm test/Faker/Provider/fi_FI/PersonTest.php +fi + ret=0 for cmd in php php73 php74 php80; do if which $cmd; then |