ignore tests with erratic result

Related: #1979841
This commit is contained in:
Remi Collet 2021-07-08 10:38:56 +02:00
parent a332314477
commit abe6774abf

View File

@ -30,7 +30,7 @@
Name: php-pecl-xdebug3
Summary: Provides functions for function traces and profiling
Version: %{upstream_version}%{?upstream_prever:~%{upstream_lower}}
Release: 3%{?dist}
Release: 4%{?dist}
Source0: https://github.com/%{pecl_name}/%{pecl_name}/archive/%{gh_commit}/%{pecl_name}-%{upstream_version}%{?upstream_prever}-%{gh_short}.tar.gz
# The Xdebug License, version 1.01
@ -94,6 +94,8 @@ sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml
cd NTS
# ignore tests relying on DNS
find tests -type f -exec grep -q 'xdebug.client_host=' {} \; -delete -print
# ignore test with erratic result
rm tests/debugger/start_with_request_default_no_env.phpt
# Check extension version
ver=$(sed -n '/XDEBUG_VERSION/{s/.* "//;s/".*$//;p}' php_xdebug.h)
@ -215,7 +217,7 @@ REPORT_EXIT_STATUS=1 \
%changelog
* Thu Jul 8 2021 Remi Collet <rcollet@redhat.com> - 3.0.4-3
* Thu Jul 8 2021 Remi Collet <rcollet@redhat.com> - 3.0.4-4
- ignore tests relying on DNS #1979841
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 3.0.4-2