diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-04-30 17:27:41 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-04-30 17:27:41 +0200 |
commit | 6173997abf4dadb72b3ac749aac57d4251b28ca7 (patch) | |
tree | 077b74b55008a005d3442088ba9be1fa4b315b51 /debian/rules | |
parent | 04a517eca8b9e964bb2d096d6edf6f7d8a9e8b35 (diff) | |
download | libayatana-appindicator-6173997abf4dadb72b3ac749aac57d4251b28ca7.tar.gz libayatana-appindicator-6173997abf4dadb72b3ac749aac57d4251b28ca7.tar.bz2 libayatana-appindicator-6173997abf4dadb72b3ac749aac57d4251b28ca7.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
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 6 |
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 |