summaryrefslogtreecommitdiffstats
path: root/php-ocramius-instantiator.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-08-16 11:20:14 +0200
committerRemi Collet <fedora@famillecollet.com>2014-08-16 11:20:14 +0200
commit996267f528b8d0e9be912204773d4502b6bd085e (patch)
treebba8289a249caf93a42e749b44c909828bc98ebb /php-ocramius-instantiator.spec
parente57530075cc4cde79839703019c72ef7b29fd432 (diff)
php-ocramius-instantiator: Ignore test suite result with PHP 5.6.0
Diffstat (limited to 'php-ocramius-instantiator.spec')
-rw-r--r--php-ocramius-instantiator.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/php-ocramius-instantiator.spec b/php-ocramius-instantiator.spec
index 5e6bac0..b4a0af9 100644
--- a/php-ocramius-instantiator.spec
+++ b/php-ocramius-instantiator.spec
@@ -86,7 +86,11 @@ sed -e '/Instantiator/d' \
: Run test suite
phpunit \
--bootstrap autoload.php \
+%if "%{?php_version}" > "5.6"
+ -d date.timezone=UTC || : Ignore test suite result with PHP %{?php_version}
+%else
-d date.timezone=UTC
+%endif
%else
: Test suite disabled
%endif