Always run test with "php" exec

epel9
Shawn Iwinski 8 years ago
parent b609da7191
commit 1b0d197c29

@ -123,7 +123,7 @@ find tests -type f -print0 | xargs -0 sed -i 's/extends TestCase/extends \\PHPUn
RETURN_CODE=0 RETURN_CODE=0
for PHP_EXEC in php %{?rhel:php54 php55} php56 php70 php71; do for PHP_EXEC in php %{?rhel:php54 php55} php56 php70 php71; do
if which $PHP_EXEC; then if [ "php" == "$PHP_EXEC" ] || which $PHP_EXEC; then
$PHP_EXEC \ $PHP_EXEC \
-d include_path=.:%{buildroot}%{phpdir}:%{phpdir}:%{_datadir}/pear \ -d include_path=.:%{buildroot}%{phpdir}:%{phpdir}:%{_datadir}/pear \
%{_bindir}/phpunit \ %{_bindir}/phpunit \
@ -150,10 +150,10 @@ exit $RETURN_CODE
%changelog %changelog
* Mon Mar 13 2017 Shawn Iwinski <shawn@iwin.ski> - 1.0.0-0.1.rc1 * Tue Mar 28 2017 Shawn Iwinski <shawn@iwin.ski> - 1.0.0-0.1.rc1
- Update to 1.0.0 - Update to 1.0.0
- Test with SCLs if available - Test with SCLs if available
- add fedora2 template relying on include_path - Add fedora2 template relying on include_path
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3 * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

Loading…
Cancel
Save