aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-11-11 12:16:02 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-11-11 12:16:02 +0100
commit7ded69df0608c9556f7e4b75076cf73f4b6f66b7 (patch)
treec910ccacb9b366e00f78c8297f9f0702d8e4af7c /debian/rules
parentd95085e67a85e7bcd6e26d99c236369183dce2a2 (diff)
downloadlibayatana-appindicator-7ded69df0608c9556f7e4b75076cf73f4b6f66b7.tar.gz
libayatana-appindicator-7ded69df0608c9556f7e4b75076cf73f4b6f66b7.tar.bz2
libayatana-appindicator-7ded69df0608c9556f7e4b75076cf73f4b6f66b7.zip
debian/rules: Expect tests/test-suite.log files in build/gtk<ver> subdirs.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules6
1 files changed, 4 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 51e5b66..2a6da00 100755
--- a/debian/rules
+++ b/debian/rules
@@ -75,7 +75,9 @@ override_dh_install:
override_dh_auto_test: $(FLAVORS:%=dotest-%)
dotest-%:
- dh_auto_test --builddirectory=build/$* --
+ 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
dotest-gtk2: $(PY_VERSIONS:%=dotestgtk2-%)
@@ -87,7 +89,7 @@ dotestgtk2-%:
PYTHON=`which $*` \
dh_auto_test --builddirectory=build/gtk2 -- || true
# View test's log file for better debugging of problems when built in clean chroots.
- if [ -e tests/test-suite.log ]; then cat tests/test-suite.log; fi
+ if [ -e build/gtk2/tests/test-suite.log ]; then cat build/gtk2/tests/test-suite.log; fi
override_dh_auto_clean:
dh_auto_clean