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 | de934aff9da9fb918e5fc2977568990e231ed50c (patch) | |
tree | 8ac3fa584913123d13b1901dc30faf11b8cc7531 | |
parent | 97a05ce9f522b6bbfaff019e35477abc96d36a52 (diff) |
php-zendframework-zend-*: run test suite with PHP 7 when available
-rw-r--r-- | php-zendframework-zend-session.spec | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/php-zendframework-zend-session.spec b/php-zendframework-zend-session.spec index 02e2561..3b053c1 100644 --- a/php-zendframework-zend-session.spec +++ b/php-zendframework-zend-session.spec @@ -136,7 +136,12 @@ EOF # sqlite is too old rm test/SaveHandler/DbTableGatewayTest.php %endif + %{_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 |