parent
fbc836d76f
commit
5b5d8da03e
1 changed files with 4 additions and 3 deletions
|
|
@ -81,13 +81,14 @@ touch vendor/autoload.php
|
|||
|
||||
: Run upstream test suite
|
||||
ret=0
|
||||
if [ $(php -r 'echo PHP_INT_SIZE;') -lt 8 ]; then
|
||||
filter="--filter '^((?!(testCanBeFormattedAsString)).)*$'"
|
||||
fi
|
||||
for cmd in php php73 php74 php80; do
|
||||
if which $cmd; then
|
||||
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \
|
||||
%{_bindir}/phpunit9 \
|
||||
%if %{__isa_bits} < 64
|
||||
--filter '^((?!(testCanBeFormattedAsString)).)*$' \
|
||||
%endif
|
||||
$filter \
|
||||
--verbose || ret=1
|
||||
fi
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue