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

lynxis lazus gerrit-no-reply at lists.osmocom.org
Wed Oct 11 05:12:55 UTC 2017


Review at  https://gerrit.osmocom.org/4220

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

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


  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/20/4220/1

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: newchange
Gerrit-Change-Id: I588ed7c7766a2e71284c9c7a3f3ce5a48561fe7f
Gerrit-PatchSet: 1
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>


More information about the gerrit-log mailing list