summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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" \