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

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Oct 11 08:13:26 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: I588ed7c7766a2e71284c9c7a3f3ce5a48561fe7f
---
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 3500fbb..277d7a4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -57,3 +57,7 @@
 # See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg
 override_dh_strip:
 	dh_strip --dbg-package=osmo-msc-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/4220
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I588ed7c7766a2e71284c9c7a3f3ce5a48561fe7f
Gerrit-PatchSet: 2
Gerrit-Project: osmo-msc
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