From 3d2faea8b877f825eef99f122d868d2d36451a12 Mon Sep 17 00:00:00 2001 From: =?utf8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 4 Apr 2018 21:39:07 +0200 Subject: [PATCH] Run unit-tests in fake-X environment --- debian/control | 1 + debian/rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 3729a14..da89bea 100644 --- a/debian/control +++ b/debian/control @@ -19,6 +19,7 @@ Build-Depends: librtmidi-dev (>= 2.1.0~ds0), libjansson-dev, catch, + xvfb, xauth, Standards-Version: 4.1.3 Vcs-Git: https://salsa.debian.org/multimedia-team/giada.git Vcs-Browser: https://salsa.debian.org/multimedia-team/giada diff --git a/debian/rules b/debian/rules index 694c778..e94d64a 100755 --- a/debian/rules +++ b/debian/rules @@ -22,7 +22,7 @@ override_dh_auto_configure: override_dh_auto_test: @echo home: $(HOME) - HOME=/tmp dh_auto_test -a || (grep . test-suite.log giada_test.log; false) + HOME=/tmp xvfb-run -a dh_auto_test -a || (grep . test-suite.log giada_test.log; false) override_dh_auto_clean: dh_auto_clean -- 2.30.2