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

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


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

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

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


  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/19/4219/1

diff --git a/debian/rules b/debian/rules
index 03432e6..3e2c91f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,3 +16,7 @@
 override_dh_strip:
 	dh_strip --dbg-package=libosmo-ranap-dbg
 	dh_strip --dbg-package=osmo-hnbgw
+
+# 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/4219
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ice1c9f51225cef335626d5689ffb306395d7e2b6
Gerrit-PatchSet: 1
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>


More information about the gerrit-log mailing list