diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-11-19 08:29:42 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-11-19 08:29:42 +0100 |
commit | 87bd5b0fb11f7dd05b797aa56cb270710d37c6bb (patch) | |
tree | 5ec27d8550cef40dca07190bf527ef7ff4f65a59 | |
parent | a3eba7c5c6792abc48ecdd09735dd2cf6fe626f5 (diff) |
php-zendframework-zend-*: run test suite with PHP 7 when available
-rw-r--r-- | php-zendframework-zend-progressbar.spec | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/php-zendframework-zend-progressbar.spec b/php-zendframework-zend-progressbar.spec index f39bc36..21e2ab9 100644 --- a/php-zendframework-zend-progressbar.spec +++ b/php-zendframework-zend-progressbar.spec @@ -115,7 +115,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 |