testsuite: disable more tests for RHEL7 builds

Resolves: #1017965
Version: 2.13-30
This commit is contained in:
Pavel Raiskup 2013-10-18 14:15:17 +02:00
parent a66f1c17ea
commit b7080f7ef3
2 changed files with 26 additions and 2 deletions

View File

@ -0,0 +1,13 @@
diff --git a/testsuite/autoconf.s/syntax.exp b/testsuite/autoconf.s/syntax.exp
index 3c5738a..6f8c4f0 100644
--- a/testsuite/autoconf.s/syntax.exp
+++ b/testsuite/autoconf.s/syntax.exp
@@ -2,7 +2,7 @@
send_user "Checking for syntax errors in the specific tests...\n"
set script {s/^AC_DEFUN(\([^,]*\).*/\1/p}
-set macros [exec sed -n $script $srcdir/../acspecific.m4 | grep -v AC_FUNC_GETLOADAVG]
+set macros [exec sed -n $script $srcdir/../acspecific.m4 | grep -v -e AC_FUNC_GETLOADAVG -e F77]
foreach mac $macros {
send_user "$mac\n"

View File

@ -1,7 +1,7 @@
Summary: A GNU tool for automatically configuring source code
Name: autoconf213
Version: 2.13
Release: 29%{?dist}
Release: 30%{?dist}
License: GPLv2+
Group: Development/Tools
URL: http://www.gnu.org/software/autoconf/
@ -19,10 +19,14 @@ Patch9: autoconf-2.13-versioning.patch
Patch10: autoconf213-destdir.patch
Patch11: autoconf213-info.patch
Patch12: autoconf213-testsuite.patch
Patch13: autoconf213-testsuite-rhel.patch
Requires: gawk, m4 >= 1.1, coreutils, perl
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
Buildrequires: texinfo, m4 >= 1.1, perl, gawk, dejagnu, compat-gcc-34-g77, flex
Buildrequires: texinfo, m4 >= 1.1, perl, gawk, dejagnu, flex
%if !0%{?rhel:1}
BuildRequires: compat-gcc-34-g77
%endif
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -57,6 +61,10 @@ use.
%patch10 -p1
%patch11 -p1
%patch12 -p1
%if 0%{?rhel:1}
# don't expect /usr/bin/f77 is installed on RHEL7
%patch13 -p1
%endif
mv autoconf.texi autoconf213.texi
rm -f autoconf.info
@ -95,6 +103,9 @@ rm -rf ${RPM_BUILD_ROOT}
%doc AUTHORS COPYING NEWS README TODO
%changelog
* Fri Oct 18 2013 Pavel Raiskup <praiskup@redhat.com> - 2.13-30
- disable g77 tests for RHEL7 builds
* Wed Oct 09 2013 Pavel Raiskup <praiskup@redhat.com> - 2.13-29
- enable testsuite for obsolescent autoconf213