aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-07-23 08:11:05 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-07-23 08:11:05 +0200
commitc11784bad17f2c7316da3d2c693bff180f3eccde (patch)
tree12b83a3bcdcd6f9068747db373eb3c0814f1828b
parent91ec65eaad20553f2f9f1cb7e038f0bbeb370022 (diff)
downloadlibayatana-appindicator-c11784bad17f2c7316da3d2c693bff180f3eccde.tar.gz
libayatana-appindicator-c11784bad17f2c7316da3d2c693bff180f3eccde.tar.bz2
libayatana-appindicator-c11784bad17f2c7316da3d2c693bff180f3eccde.zip
debian/rules: Explicitly set XDG_CACHE_HOME during unit tests, too. Hope this amends the dconf errors spotted lately.
-rwxr-xr-xdebian/rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index c47ed8c..8ad670f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -64,8 +64,8 @@ override_dh_install:
override_dh_auto_test: $(FLAVORS:%=dotest-%)
dotest-%:
- mkdir -p $(CURDIR)/debian/tmphome
- export HOME=$(CURDIR)/debian/tmphome && dh_auto_test --builddirectory=build/$* -- || true
+ mkdir -p $(CURDIR)/debian/tmphome/.cache
+ export HOME=$(CURDIR)/debian/tmphome && export XDG_CACHE_HOME=$(CURDIR)/debian/tmphome/.cache && dh_auto_test --builddirectory=build/$* -- || true
# View test's log file for better debugging of problems when built in clean chroots.
if [ -e build/$*/tests/test-suite.log ]; then cat build/$*/tests/test-suite.log; fi
rm -Rf $(CURDIR)/debian/tmphome