[libtool] Temporarily disable the test 37 (gcj && ecj check)

Pavel Raiskup praiskup at fedoraproject.org
Thu Oct 25 07:00:40 UTC 2012


commit 742d286e386bf261123fe7a0b07a93f8b06054d0
Author: Pavel Raiskup <praiskup at redhat.com>
Date:   Wed Oct 24 13:56:45 2012 +0200

    Temporarily disable the test 37 (gcj && ecj check)

 libtool-2.4.2-TEMPORARY-disable-gcj-tests.patch |   13 +++++++++++++
 libtool.spec                                    |   11 +++++++++--
 2 files changed, 22 insertions(+), 2 deletions(-)
---
diff --git a/libtool-2.4.2-TEMPORARY-disable-gcj-tests.patch b/libtool-2.4.2-TEMPORARY-disable-gcj-tests.patch
new file mode 100644
index 0000000..bbce6cd
--- /dev/null
+++ b/libtool-2.4.2-TEMPORARY-disable-gcj-tests.patch
@@ -0,0 +1,13 @@
+diff --git a/tests/convenience.at b/tests/convenience.at
+index f076e61..b97b5f3 100644
+--- a/tests/convenience.at
++++ b/tests/convenience.at
+@@ -231,6 +231,8 @@ AT_SETUP([Java convenience archives])
+ LT_AT_EXEC_TAG([GCJ])
+ AT_KEYWORDS([libtool])
+ 
++AT_CHECK([exit 77])
++
+ cat >foo1.java <<EOF
+ public class foo1 {
+   public static void main(String[[]] argv) {
diff --git a/libtool.spec b/libtool.spec
index a4630e2..c8490f2 100644
--- a/libtool.spec
+++ b/libtool.spec
@@ -3,13 +3,14 @@
 Summary: The GNU Portable Library Tool
 Name:    libtool
 Version: 2.4.2
-Release: 9%{?dist}
+Release: 10%{?dist}
 License: GPLv2+ and LGPLv2+ and GFDL
 URL:     http://www.gnu.org/software/libtool/
 Group:   Development/Tools
 
 Source:  http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.xz
 Patch0:  libtool-2.2.10-rpath.patch
+Patch1:  libtool-2.4.2-TEMPORARY-disable-gcj-tests.patch
 
 Requires(post):  /sbin/install-info
 Requires(preun): /sbin/install-info
@@ -68,6 +69,7 @@ Static libraries and header files for development with ltdl.
 %prep
 %setup -n libtool-%{version} -q
 %patch0 -p1 -b .rpath
+%patch1 -p1 -b .temp-disable-gcj-test
 
 %build
 
@@ -98,7 +100,7 @@ for i in ChangeLog.1997 ChangeLog.1998 ChangeLog.1999 ChangeLog.2002; do
 done
 
 %check
-make check
+make check VERBOSE=yes
 
 %install
 make install DESTDIR=%{buildroot}
@@ -142,6 +144,11 @@ fi
 %{_includedir}/libltdl
 
 %changelog
+* Wed Oct 24 2012 Pavel Raiskup <praiskup at redhat.com> - 2.4.2-10
+- temporarily disable the 'gcj' tests (#869578) -- this is just to (1) allow
+  build under f18+ and RHEL-7.0 and (2) don't through out upstream testsuite.
+  Added patch must be removed once the 'ecj' utility is fixed
+
 * Mon Oct 22 2012 Pavel Raiskup <praiskup at redhat.com> - 2.4.2-9
 - fix fedora-review warnings: s/RPM_BUILD_ROOT/buildroot/, remove trailing
   white-spaces, move libltdl.so to ltdl sub-package, remove unnecessary BR


More information about the scm-commits mailing list