[Python-modules-commits] [pyotherside] 03/05: Call xvfb-run with -a
Sylvain Pineau
spineau-guest at moszumanska.debian.org
Wed Jan 20 23:28:35 UTC 2016
This is an automated email from the git hooks/post-receive script.
spineau-guest pushed a commit to branch master
in repository pyotherside.
commit 5d1df59d4f65a1ed0129b69e59999aa2ac404629
Author: Sylvain Pineau <sylvain.pineau at canonical.com>
Date: Thu Jan 21 00:21:31 2016 +0100
Call xvfb-run with -a
We need to pass -a/--auto-servernum flag to xvfb-run, to prevent conflict
with other running xvfb-run instances.
---
debian/rules | 2 +-
debian/tests/unit-tests | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 401be24..203ec1a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,4 +23,4 @@ override_dh_auto_clean:
rm -rf build
override_dh_auto_test:
- xvfb-run ./tests/tests
+ xvfb-run -a ./tests/tests
diff --git a/debian/tests/unit-tests b/debian/tests/unit-tests
index e067b26..92feff7 100755
--- a/debian/tests/unit-tests
+++ b/debian/tests/unit-tests
@@ -6,5 +6,5 @@
set -e
cd $ADTTMP
-xvfb-run /usr/lib/pyotherside/tests/tests 2>&1
+xvfb-run -a /usr/lib/pyotherside/tests/tests 2>&1
echo "unit-tests: OK"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pyotherside.git
More information about the Python-modules-commits
mailing list