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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Oct 11 08:13:35 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: I4cc6589d4ce95538baf3f30079a3af53cc218268
---
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 4fe1f46..dbe582b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -59,3 +59,7 @@
 	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)

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

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