summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-10-11 07:10:49 +0200
committerAlexander Couzens <lynxis@fe80.eu>2017-10-11 07:10:57 +0200
commit3522819d8bf9d6634a504effe4f171975439e77d (patch)
tree41d7def61605052f09f8d152eebb40cde1ac3696
parent40aa61ccf0e45df0d7e1d58521a118d4c5a953ee (diff)
debian/rules: show testsuite.log when tests are failing
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index d0ad702..1d8d8ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,3 +11,7 @@ override_dh_shlibdeps:
override_dh_strip:
dh_strip --dbg-package=osmo-hlr-dbg
+
+# Print test results in case of a failure
+override_dh_auto_test:
+ dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)