enable test suite
This commit is contained in:
parent
b7580aeb95
commit
6469809b2d
1 changed files with 6 additions and 4 deletions
|
|
@ -8,8 +8,7 @@
|
|||
# Please, preserve the changelog entries
|
||||
#
|
||||
|
||||
# disabled until phpunit10 available
|
||||
%bcond_with tests
|
||||
%bcond_without tests
|
||||
|
||||
%global gh_commit e2a2d67966e740530f4a3343fe2e030ffdc1161d
|
||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||
|
|
@ -27,7 +26,7 @@
|
|||
|
||||
Name: php-%{pk_vendor}-%{pk_project}%{major}
|
||||
Version: 6.0.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: PHP Utility class for timing, version %{major}
|
||||
|
||||
License: BSD-3-Clause
|
||||
|
|
@ -88,7 +87,7 @@ touch vendor/autoload.php
|
|||
|
||||
: Run upstream test suite
|
||||
ret=0
|
||||
for cmd in php php81 php82; do
|
||||
for cmd in php php81 php82 php83; do
|
||||
if which $cmd; then
|
||||
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \
|
||||
%{_bindir}/phpunit10 || ret=1
|
||||
|
|
@ -107,6 +106,9 @@ exit $ret
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Aug 23 2023 Remi Collet <remi@remirepo.net> - 6.0.0-3
|
||||
- Enable test suite
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue