diff options
-rw-r--r-- | php-sebastian-exporter5.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/php-sebastian-exporter5.spec b/php-sebastian-exporter5.spec index cc3ab0c..e6ba914 100644 --- a/php-sebastian-exporter5.spec +++ b/php-sebastian-exporter5.spec @@ -102,14 +102,14 @@ cp -pr src %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major} %if %{with tests} %check mkdir vendor -touch vendor/autoload.php +phpab --template fedora --output vendor/autoload.php tests/_fixture/ : Run upstream test suite ret=0 for cmd in php php81 php82; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ - %{_bindir}/phpunit10 --verbose || ret=1 + %{_bindir}/phpunit10 || ret=1 fi done exit $ret |