[MERGED] osmo-hlr[master]: debian/rules: show testsuite.log when tests are failing

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Oct 11 08:14:21 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: debian/rules: show testsuite.log when tests are failing
......................................................................


debian/rules: show testsuite.log when tests are failing

Change-Id: If0b10c02f87ed81878593198e21da1fc9f8d4bbc
---
M debian/rules
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/debian/rules b/debian/rules
index d0ad702..1d8d8ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,3 +11,7 @@
 
 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)

-- 
To view, visit https://gerrit.osmocom.org/4218
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If0b10c02f87ed81878593198e21da1fc9f8d4bbc
Gerrit-PatchSet: 1
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder


More information about the gerrit-log mailing list