[php-horde-Horde-Imap-Client/epel7] ignore test result with old PHPUnit
Remi Collet
remi at fedoraproject.org
Mon Aug 11 08:19:32 UTC 2014
commit 1e4a72f2e902a22fb45e24a1ba80908f77201d69
Author: Remi Collet <remi at fedoraproject.org>
Date: Tue Aug 5 09:08:19 2014 +0200
ignore test result with old PHPUnit
(cherry picked from commit d29faec942fe7e1fefa737378c4c1fb0af594f57)
(cherry picked from commit 56cf319d5ff4b626a03fefecad1b52bcfee6f879)
php-horde-Horde-Imap-Client.spec | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/php-horde-Horde-Imap-Client.spec b/php-horde-Horde-Imap-Client.spec
index 0718bbd..c9c3fd3 100644
--- a/php-horde-Horde-Imap-Client.spec
+++ b/php-horde-Horde-Imap-Client.spec
@@ -128,10 +128,15 @@ done | tee ../%{pear_name}.lang
src=$(pwd)/%{pear_name}-%{version}
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
+# ignore test result with old PHPUnit
phpunit \
--include-path=$src/lib \
-d date.timezone=UTC \
+%if 0%{?fedora} < 21 && 0%{?rhel} < 7
+ . || exit 0
+%else
.
+%endif
%post
More information about the scm-commits
mailing list