summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-09-28 07:50:01 +0200
committerRemi Collet <fedora@famillecollet.com>2015-09-28 07:50:01 +0200
commit5838ce76db3810b71fef4cf2230927083a48115b (patch)
tree0547c47324d32ffbbd0ecc00d1e8da58b382e514
parentd34c3e0a1293bc72dfef18eba0d43d99b819deaa (diff)
php-pecl-solr2: ignore 1 test with php 5.3
-rw-r--r--php-pecl-solr2.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/php-pecl-solr2.spec b/php-pecl-solr2.spec
index 513e503..1ed3241 100644
--- a/php-pecl-solr2.spec
+++ b/php-pecl-solr2.spec
@@ -216,6 +216,11 @@ fi
exit(version_compare($v,"1.3.0",">=") && version_compare($v,"1.3.9","<") ? 0 : 1);
' && rm ?TS/tests/bug_67394.phpt
+: Ignore test with old PHP 5.3
+%if "%{php_version}" < "5.4"
+ rm ?TS/tests/151.solrcollapsefunction_illegal_operations.phpt
+%endif
+
%if %{with_tests}
sed -e '/SOLR_SERVER_CONFIGURED/s/false/true/' \
-e '/SOLR_SERVER_HOSTNAME/s/solr5/localhost/' \