summaryrefslogtreecommitdiffstats
path: root/php-zendframework-zend-session.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-zendframework-zend-session.spec')
-rw-r--r--php-zendframework-zend-session.spec5
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