aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-24 22:52:58 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-24 22:52:58 +0200
commit2bf2076c39aa479ae66e65d3a9edc283083ceb00 (patch)
treede31d29131629559a49136a2f991290a2506c1f3
parentea91c021f6d790adaa1b89c6b40342dd2ef8cd0d (diff)
downloadlibayatana-appindicator-2bf2076c39aa479ae66e65d3a9edc283083ceb00.tar.gz
libayatana-appindicator-2bf2076c39aa479ae66e65d3a9edc283083ceb00.tar.bz2
libayatana-appindicator-2bf2076c39aa479ae66e65d3a9edc283083ceb00.zip
debian/rules: Unset DBUS_SESSION_BUS_ADDRESS before running tests.
-rwxr-xr-xdebian/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 83ff536..bb5ba21 100755
--- a/debian/rules
+++ b/debian/rules
@@ -67,6 +67,7 @@ override_dh_auto_test:
export HOME=$(CURDIR)/debian/tmphome-gtk3 \
&& export XDG_DATA_HOME=$(CURDIR)/debian/tmphome-gtk3/.local/share \
&& export XDG_CACHE_HOME=$(CURDIR)/debian/tmphome-gtk3/.cache \
+ && unset DBUS_SESSION_BUS_ADDRESS \
&& dh_auto_test --no-parallel --builddirectory=build/gtk3
# View test's log file for better debugging of problems when built in clean chroots.
if [ -e build/gtk3/tests/test-suite.log ]; then cat build/gtk3/tests/test-suite.log; fi
@@ -77,6 +78,7 @@ override_dh_auto_test:
export HOME=$(CURDIR)/debian/tmphome-gtk2 \
&& export XDG_DATA_HOME=$(CURDIR)/debian/tmphome-gtk2/.local/share \
&& export XDG_CACHE_HOME=$(CURDIR)/debian/tmphome-gtk2/.cache \
+ && unset DBUS_SESSION_BUS_ADDRESS \
&& dh_auto_test --no-parallel --builddirectory=build/gtk2
# View test's log file for better debugging of problems when built in clean chroots.
if [ -e build/gtk2/tests/test-suite.log ]; then cat build/gtk2/tests/test-suite.log; fi