r46833 - in /desktop/unstable/pygobject/debian: changelog rules
biebl at users.alioth.debian.org
biebl at users.alioth.debian.org
Thu Oct 29 23:59:16 UTC 2015
Author: biebl
Date: Thu Oct 29 23:59:16 2015
New Revision: 46833
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=46833
Log:
Make the test-suite non-fatal for the the -dbg builds. With python3.4-dbg
and python3.5-dbg the test-suite currently fails. We still run it to get
the result for all architectures.
Modified:
desktop/unstable/pygobject/debian/changelog
desktop/unstable/pygobject/debian/rules
Modified: desktop/unstable/pygobject/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/pygobject/debian/changelog?rev=46833&op=diff
==============================================================================
--- desktop/unstable/pygobject/debian/changelog [utf-8] (original)
+++ desktop/unstable/pygobject/debian/changelog [utf-8] Thu Oct 29 23:59:16 2015
@@ -6,6 +6,9 @@
test-suite non-fatal).
* Make the test-suite fatal for all architectures so we can more easily
detect failures.
+ * Make the test-suite non-fatal for the the -dbg builds. With python3.4-dbg
+ and python3.5-dbg the test-suite currently fails. We still run it to get
+ the result for all architectures.
-- Michael Biebl <biebl at debian.org> Fri, 30 Oct 2015 00:51:54 +0100
Modified: desktop/unstable/pygobject/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/pygobject/debian/rules?rev=46833&op=diff
==============================================================================
--- desktop/unstable/pygobject/debian/rules [utf-8] (original)
+++ desktop/unstable/pygobject/debian/rules [utf-8] Thu Oct 29 23:59:16 2015
@@ -11,9 +11,10 @@
FLAVOURS := $(PYVERS) $(patsubst %,%-dbg,$(PYVERS))
TESTSUITE_FAIL_CMD=exit 1
+NON_FATAL=( echo "*** test-suite FAILED but continuing anyway ***"; true; )
ifneq ($(filter $(DEB_BUILD_ARCH), ),)
# tests currently fail on these architectures
- TESTSUITE_FAIL_CMD=( echo "*** test-suite FAILED but continuing anyway ***"; true; )
+ TESTSUITE_FAIL_CMD=$(NON_FATAL)
endif
configure_flags += \
@@ -39,8 +40,10 @@
# root's session D-BUS
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 \
+ for x in $(PYVERS); do \
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; \
+ xvfb-run dh_auto_test --builddirectory=build-$$x-dbg || $(NON_FATAL); \
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