aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-04-30 17:27:41 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-04-30 17:27:41 +0200
commit6173997abf4dadb72b3ac749aac57d4251b28ca7 (patch)
tree077b74b55008a005d3442088ba9be1fa4b315b51
parent04a517eca8b9e964bb2d096d6edf6f7d8a9e8b35 (diff)
downloadlibayatana-appindicator-pr/fix-unit-tests.tar.gz
libayatana-appindicator-pr/fix-unit-tests.tar.bz2
libayatana-appindicator-pr/fix-unit-tests.zip
debian/rules: Switch to official Debian's dotest-% target. This stops ignoring unit tests during DEB package buids (and also fixes them).pr/fix-unit-tests
-rwxr-xr-xdebian/rules6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index 8ad670f..d4c149e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -64,11 +64,11 @@ override_dh_install:
override_dh_auto_test: $(FLAVORS:%=dotest-%)
dotest-%:
- 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
+ mkdir -p $(CURDIR)/debian/tmphome-$*
+ export HOME=$(CURDIR)/debian/tmphome-$* && dh_auto_test --no-parallel --builddirectory=build/$*
# 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
+ rm -Rf $(CURDIR)/debian/tmphome-$*
override_dh_auto_clean:
dh_auto_clean