Accepting request 342255 from home:Andreas_Schwab:Factory

- testsuite.patch: disable unreliable test mb-non-UTF8-performance

OBS-URL: https://build.opensuse.org/request/show/342255
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=63
This commit is contained in:
Andreas Schwab 2015-11-03 13:51:34 +00:00 committed by Git OBS Bridge
parent 1d22e4af0e
commit 47fc1f9776
3 changed files with 20 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 3 13:45:34 UTC 2015 - schwab@suse.de
- testsuite.patch: disable unreliable test mb-non-UTF8-performance
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 2 18:20:38 UTC 2015 - astieger@suse.com Mon Nov 2 18:20:38 UTC 2015 - astieger@suse.com

View File

@ -26,6 +26,7 @@ Url: http://www.gnu.org/software/grep/
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Source2: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig Source2: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
Source3: http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep&download=1#/%{name}.keyring Source3: http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep&download=1#/%{name}.keyring
Patch0: testsuite.patch
BuildRequires: makeinfo BuildRequires: makeinfo
BuildRequires: pcre-devel BuildRequires: pcre-devel
BuildRequires: xz BuildRequires: xz
@ -43,7 +44,7 @@ the matching lines.
%prep %prep
%setup -q %setup -q
chmod +x tests/kwset-abuse %patch0 -p1
%if 0%{?suse_version} < 1120 %if 0%{?suse_version} < 1120
echo "ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a}" >config.cache echo "ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a}" >config.cache
%endif %endif

13
testsuite.patch Normal file
View File

@ -0,0 +1,13 @@
Index: grep-2.22/tests/mb-non-UTF8-performance
===================================================================
--- grep-2.22.orig/tests/mb-non-UTF8-performance
+++ grep-2.22/tests/mb-non-UTF8-performance
@@ -18,6 +18,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+exit 77
+
. "${srcdir=.}/init.sh"; path_prepend_ ../src
fail=0