summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-ast.spec11
1 files 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 <remi@remirepo.net> - 0.1.6-4
+- ignore 1 failed test with 7.3
+
* Thu Aug 16 2018 Remi Collet <remi@remirepo.net> - 0.1.6-3
- rebuild for 7.3.0beta2 new ABI