summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-03-14 08:42:53 +0100
committerRemi Collet <fedora@famillecollet.com>2014-03-14 08:42:53 +0100
commit998c9c05854360878fca16fcf1ff324d15c23666 (patch)
tree9af57ff6c99cd2b9b67b9689beaccd8b201b6ba9
parentfa9b0858e7f4616cec030c329cdb54f6452cc4bb (diff)
php-pecl-pthreads: ignore pools test with php 5.4
-rw-r--r--php-pecl-pthreads.spec7
1 files changed, 7 insertions, 0 deletions
diff --git a/php-pecl-pthreads.spec b/php-pecl-pthreads.spec
index bea28ad..f5abc59 100644
--- a/php-pecl-pthreads.spec
+++ b/php-pecl-pthreads.spec
@@ -123,6 +123,11 @@ fi
%check
cd %{pecl_name}-%{version}
+%if "%{php_version}" < "5.5"
+# https://github.com/krakjoe/pthreads/issues/258
+rm -f tests/pools.phpt
+%endif
+
: Minimal load test for ZTS extension
%{__ztsphp} --no-php-ini \
--define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
@@ -152,6 +157,8 @@ rm -rf %{buildroot}
%changelog
* Fri Mar 14 2014 Remi Collet <remi@fedoraproject.org> - 2.0.0-1
- Update to 2.0.0
+- open https://github.com/krakjoe/pthreads/issues/258
+ tests/pools.phpt use PHP 5.5 syntax
* Sun Mar 09 2014 Remi Collet <remi@fedoraproject.org> - 1.0.1-1
- Update to 1.0.1 (stable)