summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-12-04 09:40:19 +0100
committerRemi Collet <fedora@famillecollet.com>2012-12-04 09:40:19 +0100
commitf5a5136e8f21c5addcc05399950fd1e29c401eba (patch)
tree788c3f25be35f340ca1ee0d31f06520c88c3ee30
parent54ca8561c5aaf5bfc76236a8a9868276a020e392 (diff)
php-horde-Horde-Mail: fix the test command
-rw-r--r--php-horde-Horde-Mail.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/php-horde-Horde-Mail.spec b/php-horde-Horde-Mail.spec
index 5bc563e..252c073 100644
--- a/php-horde-Horde-Mail.spec
+++ b/php-horde-Horde-Mail.spec
@@ -86,7 +86,10 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%check
%if %{with_tests}
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
-phpunit .
+phpunit\
+ -d include_path=%{buildroot}%{pear_phpdir}:.:%{pear_phpdir} \
+ -d date.timezone=UTC \
+ .
%else
: Test disabled, missing '--with tests' option.
%endif