aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-22 08:51:51 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-22 08:51:59 +0200
commit800f06cffe2eab4bfd561397bc660d78927b5f2f (patch)
tree9230f06c20890ac7dec131bb7ba44c2bc9e3515e /debian
parent7bb8af0e3acced4246b3e91bee0d31a6bdf14d97 (diff)
downloadlibayatana-appindicator-800f06cffe2eab4bfd561397bc660d78927b5f2f.tar.gz
libayatana-appindicator-800f06cffe2eab4bfd561397bc660d78927b5f2f.tar.bz2
libayatana-appindicator-800f06cffe2eab4bfd561397bc660d78927b5f2f.zip
debian/rules: Also set XDG_DATA_HOME for unit tests.
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules8
1 files changed, 6 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 6b42b7d..d768c4e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -66,13 +66,17 @@ override_dh_install:
override_dh_auto_test:
mkdir -p $(CURDIR)/debian/tmphome-gtk2
- export HOME=$(CURDIR)/debian/tmphome-gtk2 && dh_auto_test --no-parallel --builddirectory=build/gtk2
+ export HOME=$(CURDIR)/debian/tmphome-gtk2 \
+ && export XDG_DATA_HOME=$(CURDIR)/debian/tmphome-gtk2/.local/share \
+ && 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
rm -Rf $(CURDIR)/debian/tmphome-gtk2
mkdir -p $(CURDIR)/debian/tmphome-gtk3
- export HOME=$(CURDIR)/debian/tmphome-gtk3 && dh_auto_test --no-parallel --builddirectory=build/gtk3
+ export HOME=$(CURDIR)/debian/tmphome-gtk3 \
+ && export XDG_DATA_HOME=$(CURDIR)/debian/tmphome-gtk3/.local/share \
+ && 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
rm -Rf $(CURDIR)/debian/tmphome-gtk3