vala doesn't build with unit test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vala (Debian) |
Fix Released
|
Unknown
|
|||
vala (Ubuntu) |
Fix Released
|
Low
|
Martin Pitt |
Bug Description
vala doesn't build on Ubuntu because the fail of a unit test fail the entire build. Build log : http://
/dbus/
** CRITICAL **: file /build/
aborting...
dbus.basic_
/dbus/
** CRITICAL **: file /build/
aborting...
dbus.arrays.
/dbus/
** CRITICAL **: file /build/
aborting...
dbus.async.
/dbus/bug596862: [72G[0;32mOK[m
3 of 59 tests failed
Related branches
Changed in vala (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in vala (Debian): | |
status: | Unknown → New |
Changed in vala (Debian): | |
status: | New → Fix Released |
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 GNU_TYPE) GNU_TYPE)
+++ b/debian/rules
@@ -3,6 +3,8 @@
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_
+DISTRO = "$(shell lsb_release -si)"
--prefix= /usr \
--mandir= /usr/share/ man \
+
configure_flags += \
@@ -83,7 +85,11 @@ build-stamp: configure-stamp
touch $@
check-stamp: build-stamp ,"Ubuntu" ) PARALLEL) check PARALLEL) check || true
+ifeq ($(DISTRO)
+ make $(DEB_MAKE_
+else
make $(DEB_MAKE_
+endif
touch $@
install-stamp: build-stamp check-stamp