From 2cf9d75dee8051596ac40ff288abda350f1d1bbb Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 9 Sep 2022 14:31:48 +0200 Subject: ignore 8 failed tests with PHP 8.2 --- php-pecl-msgpack.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/php-pecl-msgpack.spec b/php-pecl-msgpack.spec index ed6bd23..77c6d34 100644 --- a/php-pecl-msgpack.spec +++ b/php-pecl-msgpack.spec @@ -41,7 +41,7 @@ URL: https://pecl.php.net/package/msgpack Release: 0.7.%{gh_date}.%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz %else -Release: 7%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 8%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz %endif @@ -201,6 +201,16 @@ rm */tests/034.phpt # too slow rm */tests/035.phpt %endif +%if "%{php_version}" > "8.0" +rm */tests/007.phpt +rm */tests/008.phpt +rm */tests/009a.phpt +rm */tests/013.phpt +rm */tests/014.phpt +rm */tests/024.phpt +rm */tests/033.phpt +rm */tests/bug013.phpt +%endif cd NTS : Minimal load test for NTS extension @@ -277,6 +287,9 @@ fi %changelog +* Fri Sep 9 2022 Remi Collet - 2.2.0~RC1-8 +- ignore 8 failed tests with PHP 8.2 + * Thu Jul 28 2022 Remi Collet - 2.2.0~RC1-7 - skip one test on aarch64 -- cgit