Commit c8406c19 authored by Samuel Thibault's avatar Samuel Thibault
Browse files

rules, tests/tests: Prevent Xvfb from resetting between clients

it seems to be creating a period of time during which clients can't connect.
parent b9de2cc2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@ pyatspi (2.34.0-2) UNRELEASED; urgency=medium

  * debian/tests/dbus-daemon: Send all dbus output to stdout, for
    debuggability.
  * rules, tests/tests: Prevent Xvfb from resetting between clients, it seems to
    be creating a period of time during which clients can't connect.

 -- Samuel Thibault <sthibault@debian.org>  Fri, 13 Sep 2019 11:41:05 +0200

+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	chmod +x tests/pyatspi/runtests.sh
	chmod +x tests/pyatspi/testrunner.in
	set -e ; for pyver in $(PYVERS); do \
	    PYTHON=/usr/bin/python$$pyver xvfb-run -a dbus-run-session -- $(MAKE) -C $(CURDIR)/build-$$pyver check || ( cat $(CURDIR)/build-$$pyver/tests/pyatspi/test-suite.log ; false ); \
	    PYTHON=/usr/bin/python$$pyver xvfb-run -s -noreset -a dbus-run-session -- $(MAKE) -C $(CURDIR)/build-$$pyver check || ( cat $(CURDIR)/build-$$pyver/tests/pyatspi/test-suite.log ; false ); \
	done
endif

+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ for pyver in $PYVERS; do
                --enable-tests \
                2>&1

  xvfb-run -a dbus-run-session --dbus-daemon $SRCDIR/debian/tests/dbus-daemon -- make check 2>&1 || ( cat tests/pyatspi/test-suite.log ; false )
  xvfb-run -s -noreset -a dbus-run-session --dbus-daemon $SRCDIR/debian/tests/dbus-daemon -- make check 2>&1 || ( cat tests/pyatspi/test-suite.log ; false )
done

cd $SRCDIR