[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] LibreOffice packaging repository branch, debian-experimental-4.0, updated. libreoffice_4.0.2_rc2-2-14-ge28239c



The following commit has been merged in the debian-experimental-4.0 branch:
commit 2b9878fced58bc82a73492204d808b0040ed4077
Author: Rene Engelhard <rene@debian.org>
Date:   Fri Apr 19 00:37:03 2013 +0200

    run make -k check || make check and ignore test suite failures on armhf, ia64, sparc, mips(el)

diff --git a/changelog b/changelog
index 87cce93..9451982 100644
--- a/changelog
+++ b/changelog
@@ -11,6 +11,9 @@ libreoffice (1:4.0.3~rc1-1) UNRELEASED; urgency=low
       meanwhile
     - explicitly set JDK=openjdk again until default-jdk (>= 1:1.7-48)
       is in unstable (needed for ia64 defaulting to java7)
+    - run make -k check || make check (try to work around spurious failures) and
+      ignore test suite failures (on the second run) on armhf, ia64, sparc,
+      mips(el)
 
  -- Rene Engelhard <rene@debian.org>  Wed, 10 Apr 2013 23:15:27 +0200
 
diff --git a/rules b/rules
index 7f85178..705e09d 100755
--- a/rules
+++ b/rules
@@ -257,14 +257,17 @@ ifeq "$(ENABLE_JAVA)" "y"
     ifeq "$(shell LANG=C /usr/lib/jvm/default-java/bin/java -version 2>&1 | tail -n 1 | awk '{ print $$1 }')" "OpenJDK"
       RUN_MAKE_CHECK=y
       ENABLE_JUNIT4=y
+      IGNORE_MAKE_CHECK_FAILURES=
     endif
   else
     ifeq "$(JDK)" "openjdk"
       RUN_MAKE_CHECK=y
       ENABLE_JUNIT4=y
+      IGNORE_MAKE_CHECK_FAILURES=
     else
       RUN_MAKE_CHECK=n
       ENABLE_JUNIT4=n
+      IGNORE_MAKE_CHECK_FAILURES=-
     endif
   endif
 else
@@ -415,6 +418,19 @@ ifeq "$(ENABLE_OPENGL)" "y"
   $(eval $(call gen_no_archs,OOO_OGLTRANS_ARCHS))
 endif
 
+ifeq (armhf,$(findstring armhf,$(DEB_HOST_ARCH)))
+IGNORE_MAKE_CHECK_FAILURES:=-
+endif
+ifeq (ia64,$(findstring ia64,$(DEB_HOST_ARCH)))
+IGNORE_MAKE_CHECK_FAILURES:=-
+endif
+ifeq (sparc,$(findstring sparc,$(DEB_HOST_ARCH)))
+IGNORE_MAKE_CHECK_FAILURES:=-
+endif
+ifneq (,$(findstring mips,$(DEB_HOST_ARCH)))
+IGNORE_MAKE_CHECK_FAILURES:=-
+endif
+
 OOO_64BIT_ARCHS = $(filter amd64 ia64 kfreebsd-amd64 ppc64 s390x, $(OOO_ARCHS))
 
 # Java...
@@ -1727,7 +1743,7 @@ endif
 		export HOME=$$t; \
 		export SAL_USE_VCLPLUGIN="svp"; \
 		if [ -x /usr/bin/gdb ]; then ulimit -c unlimited; fi && \
-		$(MAKE) -k check && \
+		$(MAKE) -k check || $(IGNORE_MAKE_CHECK_FAILURES)$(IGNORE_MAKE_CHECK_FAILURES)$(MAKE) check && \
 	rm -rf $$t
 
 ifneq (,$(findstring $(DEB_HOST_ARCH),$(OOO_NO_BASE_ARCHS)))

-- 
LibreOffice packaging repository


Reply to: