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 | f946fb4c4abfae3444742b7e98cef50f95d3b5b9 (patch) | |
| tree | b8f8f1ae704605e978ffc6e466baacede1f56c5c | |
| parent | dd80c1751de0f2856e5c256f64412fad34799117 (diff) | |
php-zendframework-zend-*: run test suite with PHP 7 when available
| -rw-r--r-- | php-zendframework-zend-crypt.spec | 5 | 
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  | 
