diff options
author | Remi Collet <remi@remirepo.net> | 2022-07-19 09:10:36 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-07-19 09:10:36 +0200 |
commit | 6ad6f30443589849cd5d664461ed9e50f2c98bc7 (patch) | |
tree | 99020af3674b6431299c93ccb4dd7e4273ea2b64 | |
parent | 1d0d17da6491f83d4c9307e59d11d2d98755e1f8 (diff) |
switch to phpunit9
-rw-r--r-- | php-zetacomponents-console-tools.spec | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/php-zetacomponents-console-tools.spec b/php-zetacomponents-console-tools.spec index f418b6c..d2d081c 100644 --- a/php-zetacomponents-console-tools.spec +++ b/php-zetacomponents-console-tools.spec @@ -23,7 +23,7 @@ Name: php-%{gh_owner}-%{cname} Version: 1.7.3 -Release: 1%{?dist} +Release: 3%{?dist} Summary: Zeta %{gh_project} Component License: ASL 2.0 @@ -46,8 +46,8 @@ BuildRequires: php-zetacomponents-base >= 1.8 # From composer.json, "require-dev": { # "phpunit/phpunit": "~8.0", # "zetacomponents/unit-test": "*" -BuildRequires: phpunit8 -BuildRequires: php-composer(%{gh_owner}/unit-test) +BuildRequires: phpunit9 +BuildRequires: php-composer(%{gh_owner}/unit-test) >= 1.2.0 %endif # From composer.json, "require": { @@ -128,13 +128,16 @@ EOF : Drop assertion which rely on path in sources dir sed -e '/realpath/d' -i tests/statusbar_test.php +: Not ready for phpunit9 +rm tests/option_test.php tests/arguments_test.php + : Run test test suite for cmd in php php74 php80 php81 do if which $cmd; then - $cmd %{_bindir}/phpunit8 --exclude-group interactive + $cmd %{_bindir}/phpunit9 --exclude-group interactive fi done %else @@ -156,6 +159,9 @@ done %changelog +* Tue Jul 19 2022 Remi Collet <remi@remirepo.net> - 1.7.3-3 +- switch to phpunit9 + * Wed Jan 19 2022 Remi Collet <remi@remirepo.net> - 1.7.3-1 - update to 1.7.3 |