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

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Wed Oct 25 14:54:10 UTC 2017

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

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

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

  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/14/4414/1

diff --git a/debian/rules b/debian/rules
index 4e187a6..2d1effe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,3 +30,6 @@
 	echo $(VERSION) > openbsc/.tarball-version
 	dh_auto_configure --sourcedirectory=openbsc -- --enable-nat --enable-osmo-bsc --enable-smpp
+# Print test results in case of a failure
+	dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I30151897d621a1428095006e1f0e8a47059de4cd
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>

More information about the gerrit-log mailing list