From 62bb66f21e9c340f7a4fd657e77e1271d77347b4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 21 Aug 2018 11:14:46 +0200 Subject: ignore 1 failed test with 7.3 --- php-ast.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/php-ast.spec b/php-ast.spec index db5553d..69d2420 100644 --- a/php-ast.spec +++ b/php-ast.spec @@ -24,7 +24,7 @@ Version: 0.1.6 %if 0%{?gh_date:1} Release: 0.5.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %else -Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %endif License: BSD Group: Development/Languages @@ -173,6 +173,10 @@ done %check +%if "%{php_version}" > "7.3" +rm ?TS/tests/type_hints.phpt +%endif + cd NTS : Minimal load test for NTS extension %{__php} --no-php-ini \ @@ -184,7 +188,7 @@ TEST_PHP_EXECUTABLE=%{__php} \ TEST_PHP_ARGS="-n -d extension=tokenizer.so -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \ NO_INTERACTION=1 \ REPORT_EXIT_STATUS=1 \ -%{__php} -n run-tests.php --show-diff || : ignore +%{__php} -n run-tests.php --show-diff %if %{with_zts} cd ../ZTS @@ -217,6 +221,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Tue Aug 21 2018 Remi Collet - 0.1.6-4 +- ignore 1 failed test with 7.3 + * Thu Aug 16 2018 Remi Collet - 0.1.6-3 - rebuild for 7.3.0beta2 new ABI -- cgit