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

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

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


  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/21/4221/1

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: newchange
Gerrit-Change-Id: I4cc6589d4ce95538baf3f30079a3af53cc218268
Gerrit-PatchSet: 1
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>

Reply via email to