[Bug 496312] Re: vala doesn't build with unit test

Andrew Starr-Bochicchio a.starr.b at gmail.com
Fri Dec 18 02:43:54 UTC 2009


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

-- 
vala doesn't build with unit test
https://bugs.launchpad.net/bugs/496312
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list