Comment 1 for bug 496312

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

The latest Debian revision specifically make test failures fatal for Ubuntu. Is this actually something we want?

vala (0.7.8-2) unstable; urgency=low

  * debian/control:
    + Remove Mathias Hasselmann from Uploaders, he did the initial packaging
      for Ubuntu but was not involved with the Debian package at all.
  * debian/control,
    debian/rules:
    + Make unit test failures fatal on Ubuntu.

--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

+DISTRO = "$(shell lsb_release -si)"
+
 configure_flags += \
        --prefix=/usr \
        --mandir=/usr/share/man \
@@ -83,7 +85,11 @@ build-stamp: configure-stamp
        touch $@

 check-stamp: build-stamp
+ifeq ($(DISTRO),"Ubuntu")
+ make $(DEB_MAKE_PARALLEL) check
+else
        make $(DEB_MAKE_PARALLEL) check || true
+endif
        touch $@

 install-stamp: build-stamp check-stamp