From e5a386d3f864ba90430c53c9000b4986b6605cd2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 9 Sep 2022 15:48:07 +0200 Subject: skip 1 test failing with 8.2 --- php-pecl-uopz.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/php-pecl-uopz.spec b/php-pecl-uopz.spec index 0112275..2abe8f8 100644 --- a/php-pecl-uopz.spec +++ b/php-pecl-uopz.spec @@ -10,6 +10,8 @@ %scl_package php-pecl-uopz %endif +%bcond_without tests + %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global pecl_name uopz %global ini_name 05-%{pecl_name}.ini @@ -23,7 +25,7 @@ Summary: User Operations for Zend Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 7.1.1 -Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP URL: https://pecl.php.net/package/%{pecl_name} %if 0%{?gh_commit:1} @@ -187,8 +189,13 @@ fi %check +%if "%{php_version}" >= "8.1" # https://github.com/krakjoe/uopz/issues/160 -#rm ?TS/tests/012.phpt +rm ?TS/tests/012.phpt +%endif +%if "%{php_version}" >= "8.2" +rm ?TS/tests/019.phpt +%endif cd NTS : Minimal load test for NTS extension @@ -236,6 +243,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Fri Sep 9 2022 Remi Collet - 7.1.1-3 +- skip 1 test failing with 8.2 + * Fri Feb 11 2022 Remi Collet - 7.1.1-2 - skip 1 test failing with 8.1 reported as https://github.com/krakjoe/uopz/issues/160 -- cgit