From fbc836d76f9f5533019040cc24267668ddc1a9a4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 26 Oct 2020 15:37:56 +0100 Subject: [PATCH] skip 1 test on 32-bit (cherry picked from commit afab8e8a0bd492922770447dc97432fa456e035f) --- php-phpunit-php-timer5.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/php-phpunit-php-timer5.spec b/php-phpunit-php-timer5.spec index bebc971..35db59a 100644 --- a/php-phpunit-php-timer5.spec +++ b/php-phpunit-php-timer5.spec @@ -84,7 +84,11 @@ ret=0 for cmd in php php73 php74 php80; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ - %{_bindir}/phpunit9 --verbose || ret=1 + %{_bindir}/phpunit9 \ +%if %{__isa_bits} < 64 + --filter '^((?!(testCanBeFormattedAsString)).)*$' \ +%endif + --verbose || ret=1 fi done exit $ret @@ -102,6 +106,8 @@ exit $ret %changelog * Mon Oct 26 2020 Remi Collet - 5.0.3-1 - update to 5.0.3 +- open https://github.com/sebastianbergmann/php-timer/issues/34 + 32-bit compatibility * Tue Jul 28 2020 Fedora Release Engineering - 5.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild