Disable the test_lock test as it often hangs on a number of arches

This commit is contained in:
Peter Robinson 2014-10-28 16:03:37 +00:00
parent d5e533acc8
commit 3988706b40
3 changed files with 36 additions and 12 deletions

11
.gitignore vendored
View File

@ -1,10 +1 @@
gettext-0.18.1.1.tar.gz
/gettext-0.18.2.tar.gz
/gettext-0.18.2.1.tar.gz
/gettext-0.18.3.tar.gz
/gettext-0.18.3.1.tar.gz
/gettext-0.18.3.2.tar.gz
/gettext-0.19.tar.gz
/gettext-0.19.1.tar.xz
/gettext-0.19.2.tar.xz
/gettext-0.19.3.tar.xz
/gettext-0.*.tar.xz

View File

@ -0,0 +1,26 @@
Index: gettext-0.19.2/gettext-runtime/tests/Makefile.am
===================================================================
--- gettext-0.19.2.orig/gettext-runtime/tests/Makefile.am
+++ gettext-0.19.2/gettext-runtime/tests/Makefile.am
@@ -19,7 +19,7 @@
AUTOMAKE_OPTIONS = 1.11 gnits no-dependencies color-tests subdir-objects
EXTRA_DIST =
-TESTS = test-lock
+TESTS =
AM_CPPFLAGS = \
-I.. \
Index: gettext-0.19.2/gettext-runtime/tests/Makefile.in
===================================================================
--- gettext-0.19.2.orig/gettext-runtime/tests/Makefile.in
+++ gettext-0.19.2/gettext-runtime/tests/Makefile.in
@@ -77,7 +77,7 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-TESTS = test-lock$(EXEEXT)
+TESTS =
noinst_PROGRAMS = test-lock$(EXEEXT)
subdir = tests
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \

View File

@ -6,11 +6,15 @@
Summary: GNU libraries and utilities for producing multi-lingual messages
Name: gettext
Version: 0.19.3
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv3+ and LGPLv2+
Group: Development/Tools
URL: http://www.gnu.org/software/gettext/
Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.xz
# Disable the test_lock test as it often hangs on a number of arches
# https://bugzilla.redhat.com/show_bug.cgi?id=1155291
# http://savannah.gnu.org/bugs/?43487
Patch0: disable-gettext-runtime-test-lock.patch
Source2: msghack.py
Source3: msghack.1
# for bootstrapping
@ -135,7 +139,7 @@ Emacs.
%prep
%setup -q
%patch0 -p1 -b .test_lock
%build
%if %{with java}
@ -330,6 +334,9 @@ fi
%{_emacs_sitelispdir}/%{name}/*.el
%changelog
* Tue Oct 28 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.19.3-2
- Disable the test_lock test as it often hangs on a number of arches
* Thu Oct 16 2014 Daiki Ueno <dueno@redhat.com> - 0.19.3-1
- update to 0.19.3 release
- remove patches included in 0.19.3