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 | 06657ab696b575a9360721731aa2c8940b9795ad (patch) | |
tree | 48a5fd3536a6d63493612f3206788c063f52f6b5 /php-zendframework-zend-soap.spec | |
parent | 1d3efe207ea7752c1b11cc5952262ee70565ca3e (diff) |
php-zendframework-zend-*: run test suite with PHP 7 when available
Diffstat (limited to 'php-zendframework-zend-soap.spec')
-rw-r--r-- | php-zendframework-zend-soap.spec | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/php-zendframework-zend-soap.spec b/php-zendframework-zend-soap.spec index 448ea24..9db7d5e 100644 --- a/php-zendframework-zend-soap.spec +++ b/php-zendframework-zend-soap.spec @@ -122,7 +122,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 |