summaryrefslogtreecommitdiffstats
path: root/php-zendframework-zend-crypt.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-11-19 08:29:42 +0100
committerRemi Collet <fedora@famillecollet.com>2015-11-19 08:29:42 +0100
commitf946fb4c4abfae3444742b7e98cef50f95d3b5b9 (patch)
treeb8f8f1ae704605e978ffc6e466baacede1f56c5c /php-zendframework-zend-crypt.spec
parentdd80c1751de0f2856e5c256f64412fad34799117 (diff)
php-zendframework-zend-*: run test suite with PHP 7 when available
Diffstat (limited to 'php-zendframework-zend-crypt.spec')
-rw-r--r--php-zendframework-zend-crypt.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/php-zendframework-zend-crypt.spec b/php-zendframework-zend-crypt.spec
index 56f1299..73766dd 100644
--- a/php-zendframework-zend-crypt.spec
+++ b/php-zendframework-zend-crypt.spec
@@ -129,7 +129,12 @@ Zend\\Loader\\AutoloaderFactory::factory(array(
))));
require_once '%{php_home}/Zend/autoload.php';
EOF
+
%{_bindir}/phpunit --include-path=%{buildroot}%{php_home}
+
+if which php70; then
+ php70 %{_bindir}/phpunit --include-path=%{buildroot}%{php_home}
+fi
%else
: Test suite disabled
%endif