r37471 - in /desktop/experimental/pygobject/debian: changelog rules
mpitt at users.alioth.debian.org
mpitt at users.alioth.debian.org
Wed Apr 3 07:51:26 UTC 2013
Author: mpitt
Date: Wed Apr 3 07:51:25 2013
New Revision: 37471
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=37471
Log:
Have failing tests fail the build except on s390x and mipsel, where they
currently fail.
Modified:
desktop/experimental/pygobject/debian/changelog
desktop/experimental/pygobject/debian/rules
Modified: desktop/experimental/pygobject/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/pygobject/debian/changelog?rev=37471&op=diff
==============================================================================
--- desktop/experimental/pygobject/debian/changelog [utf-8] (original)
+++ desktop/experimental/pygobject/debian/changelog [utf-8] Wed Apr 3 07:51:25 2013
@@ -3,6 +3,8 @@
* debian/tests/python[23]-dbg: Redirect stderr to stdout, to avoid the
"[xxx refs]" error message failing the tests.
* Bump Standards-Version to 3.9.4. No changes necessary.
+ * Have failing tests fail the build except on s390x and mipsel, where they
+ currently fail.
-- Martin Pitt <mpitt at debian.org> Wed, 27 Mar 2013 09:11:57 +0100
Modified: desktop/experimental/pygobject/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/pygobject/debian/rules?rev=37471&op=diff
==============================================================================
--- desktop/experimental/pygobject/debian/rules [utf-8] (original)
+++ desktop/experimental/pygobject/debian/rules [utf-8] Wed Apr 3 07:51:25 2013
@@ -9,6 +9,12 @@
PYVERS := $(shell pyversions --requested -v debian/control) $(shell py3versions --supported -v)
FLAVOURS := $(PYVERS) $(patsubst %,%-dbg,$(PYVERS))
+
+TESTSUITE_FAIL_CMD=exit 1
+ifneq ($(findstring $(DEB_BUILD_ARCH), s390x mipsel),)
+# tests currently fail on these architectures
+ TESTSUITE_FAIL_CMD=true
+endif
configure_flags += \
--disable-silent-rules \
@@ -32,7 +38,7 @@
override_dh_auto_test:
set -e; export HOME=$(CURDIR)/debian/tmp/home; mkdir -p $$HOME/.local/share; unset LD_PRELOAD; \
for x in $(FLAVOURS); do \
- xvfb-run dh_auto_test --builddirectory=build-$$x || true; \
+ xvfb-run dh_auto_test --builddirectory=build-$$x || $(TESTSUITE_FAIL_CMD); \
while [ -e /tmp/.X99-lock ]; do echo "Waiting for xvfb to finish..."; sleep 0.5; done; \
done; \
More information about the pkg-gnome-commits
mailing list