summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-03-07 18:14:45 +0100
committerRemi Collet <fedora@famillecollet.com>2014-03-07 18:14:45 +0100
commit6a19a81e46bda971bb29a2c3f406d98decf85265 (patch)
treec6f8d18ac55ffb6f5e0019a697376bb16ea9aa54
parent759277559c6ddcbfb3df922a464ce11ab2b9c9f6 (diff)
php-pecl-pthreads: ignore 1 test with php 5.4
-rw-r--r--php-pecl-pthreads.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/php-pecl-pthreads.spec b/php-pecl-pthreads.spec
index 0ac67d8..87f90b9 100644
--- a/php-pecl-pthreads.spec
+++ b/php-pecl-pthreads.spec
@@ -129,6 +129,11 @@ cd %{pecl_name}-%{version}
--define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
--modules | grep %{pecl_name}
+%if "%{php_version}" < "5.5"
+# syntax issue
+rm tests/pools.phpt
+%endif
+
: Upstream test suite for ZTS extension
TEST_PHP_EXECUTABLE=%{_bindir}/zts-php \
TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" \