aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-10-11 07:13:15 +0200
committerHarald Welte <laforge@gnumonks.org>2017-10-11 08:13:35 +0000
commit92d788bdac9eef8fa9b39dc8a099b39f9af3b547 (patch)
treefe6a6b82b8f20e70e6804ec8b814cb2f669204c6 /debian
parent7ad8fa65e8ff6bb3f481b2c6c9801a3a5d8aa0e8 (diff)
debian/rules: show testsuite.log when tests are failing
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 4fe1f467d..dbe582b33 100755
--- a/debian/rules
+++ b/debian/rules
@@ -59,3 +59,7 @@ override_dh_strip:
dh_strip --dbg-package=osmo-sgsn-dbg
dh_strip --dbg-package=osmo-gtphub-dbg
dh_strip --dbg-package=osmo-gbproxy-dbg
+
+# Print test results in case of a failure
+override_dh_auto_test:
+ dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)