From 3eed1e08bb1e0a313c4273253a2173e036928511 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 3 Jul 2017 15:43:10 +0200 Subject: run test suite only on 64-bit arch --- php-bacon-qr-code.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/php-bacon-qr-code.spec b/php-bacon-qr-code.spec index 681cf07..6a80737 100644 --- a/php-bacon-qr-code.spec +++ b/php-bacon-qr-code.spec @@ -21,7 +21,7 @@ Name: php-%{pk_project} Version: 1.0.1 -Release: 2%{?dist} +Release: 4%{?dist} Summary: QR code generator for PHP Group: Development/Libraries @@ -101,6 +101,12 @@ cp -pr src/%{ns_project} %{buildroot}%{php_home}/%{ns_project} %check %if %{with_tests} +if php -r 'exit(PHP_INT_SIZE<8 ? 0 : 1);' +then + : ignore test suite because of https://github.com/Bacon/BaconQrCode/issues/31 + exit 0 +fi + cd tests cat << 'EOF' | tee bootstrap.php - 1.0.1-4 +- run test suite only on 64-bit arch + * Mon Jul 3 2017 Remi Collet - 1.0.1-2 - fix directory ownership, from review #1465313 -- cgit