diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-10-22 09:23:24 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-10-22 09:23:24 +0200 |
commit | 61bb127d42eed3c44c363074a7ffa3e05a75b307 (patch) | |
tree | 8579d41bd23e54b23b7df780dd58ff516ed3b59d | |
parent | 4de805fe9963c97dd6a58ee2edfb9d33601cf366 (diff) | |
download | libayatana-appindicator-61bb127d42eed3c44c363074a7ffa3e05a75b307.tar.gz libayatana-appindicator-61bb127d42eed3c44c363074a7ffa3e05a75b307.tar.bz2 libayatana-appindicator-61bb127d42eed3c44c363074a7ffa3e05a75b307.zip |
debian/rules: Run GTK3 unit tests first (see if they also fail on Jenkins).
-rwxr-xr-x | debian/rules | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/debian/rules b/debian/rules index 3bb60eb..69d331c 100755 --- a/debian/rules +++ b/debian/rules @@ -65,16 +65,6 @@ override_dh_install: # dh_install -plibayatana-appindicator0.1-cil-dev --fail-missing --sourcedir=debian/tmp/gtk2; \ override_dh_auto_test: - mkdir -p $(CURDIR)/debian/tmphome-gtk2/.local/share - mkdir -p $(CURDIR)/debian/tmphome-gtk2/.cache - 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 \ - && 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/.local/share mkdir -p $(CURDIR)/debian/tmphome-gtk3/.cache export HOME=$(CURDIR)/debian/tmphome-gtk3 \ @@ -85,6 +75,16 @@ override_dh_auto_test: if [ -e build/gtk3/tests/test-suite.log ]; then cat build/gtk3/tests/test-suite.log; fi rm -Rf $(CURDIR)/debian/tmphome-gtk3 + mkdir -p $(CURDIR)/debian/tmphome-gtk2/.local/share + mkdir -p $(CURDIR)/debian/tmphome-gtk2/.cache + 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 \ + && 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 + override_dh_auto_clean: dh_auto_clean rm -rf build |